Class FirearmOverheat
Inheritance
FirearmOverheat
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 FirearmOverheat : MonoBehaviour, INeoSerializableComponent
Properties
canOverheat
Declaration
public bool canOverheat { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
coolingThreshold
Declaration
public float coolingThreshold { get; }
Property Value
| Type |
Description |
| System.Single |
|
heat
Declaration
public float heat { get; }
Property Value
| Type |
Description |
| System.Single |
|
overheated
Declaration
public bool overheated { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Methods
Awake()
Declaration
FixedUpdate()
Declaration
protected void FixedUpdate()
OnCooledToThreshold()
Declaration
protected virtual void OnCooledToThreshold()
OnDestroy()
Declaration
protected void OnDestroy()
OnOverheated()
Declaration
protected virtual void OnOverheated()
OnValidate()
Declaration
protected void OnValidate()
ReadProperties(INeoDeserializer, NeoSerializedGameObject)
Declaration
public void ReadProperties(INeoDeserializer reader, NeoSerializedGameObject nsgo)
Parameters
SetHeat(Single)
Declaration
public void SetHeat(float h)
Parameters
| Type |
Name |
Description |
| System.Single |
h |
|
WriteProperties(INeoSerializer, NeoSerializedGameObject, SaveMode)
Declaration
public void WriteProperties(INeoSerializer writer, NeoSerializedGameObject nsgo, SaveMode saveMode)
Parameters
Events
onHeatValueChanged
Declaration
public event UnityAction<float> onHeatValueChanged
Event Type
| Type |
Description |
| UnityAction<System.Single> |
|
onOverheat
Declaration
public event UnityAction onOverheat
Event Type
| Type |
Description |
| UnityAction |
|
Implements