Class WieldableLaserPointer
Inheritance
WieldableLaserPointer
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: NeoFPS.dll
Syntax
public class WieldableLaserPointer : MonoBehaviour, IWieldableFlashlight, ILaserPointer, INeoSerializableComponent
Properties
brightness
Declaration
public float brightness { get; set; }
Property Value
| Type |
Description |
| System.Single |
|
laserColor
Declaration
public Color laserColor { get; set; }
Property Value
on
Declaration
public bool on { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Methods
Awake()
Declaration
CheckDoesHit(out Vector3)
Declaration
public bool CheckDoesHit(out Vector3 hitPoint)
Parameters
| Type |
Name |
Description |
| Vector3 |
hitPoint |
|
Returns
| Type |
Description |
| System.Boolean |
|
LateUpdate()
Declaration
protected void LateUpdate()
OnDestroy()
Declaration
protected void OnDestroy()
OnDisable()
Declaration
protected void OnDisable()
OnEnable()
Declaration
protected void OnEnable()
OnValidate()
Declaration
protected void OnValidate()
ReadProperties(INeoDeserializer, NeoSerializedGameObject)
Declaration
public void ReadProperties(INeoDeserializer reader, NeoSerializedGameObject nsgo)
Parameters
Start()
Declaration
Toggle()
Declaration
WriteProperties(INeoSerializer, NeoSerializedGameObject, SaveMode)
Declaration
public void WriteProperties(INeoSerializer writer, NeoSerializedGameObject nsgo, SaveMode saveMode)
Parameters
Events
onToggleOff
Declaration
public event UnityAction onToggleOff
Event Type
| Type |
Description |
| UnityAction |
|
onToggleOn
Declaration
public event UnityAction onToggleOn
Event Type
| Type |
Description |
| UnityAction |
|
Implements