Class AbilityBasedSlowMoSystem
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()
Namespace: NeoFPS
Assembly: NeoFPS.dll
Syntax
public class AbilityBasedSlowMoSystem : CharacterInputBase, ISlowMoSystem, INeoSerializableComponent
Properties
charge
Declaration
public float charge { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
isTimeScaled
Declaration
public bool isTimeScaled { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Methods
OnAwake()
Declaration
protected override void OnAwake()
Overrides
OnDestroy()
Declaration
protected override void OnDestroy()
Overrides
OnLoseFocus()
Declaration
protected override void OnLoseFocus()
Overrides
OnValidate()
Declaration
protected void OnValidate()
ReadProperties(INeoDeserializer, NeoSerializedGameObject)
Declaration
public void ReadProperties(INeoDeserializer reader, NeoSerializedGameObject nsgo)
Parameters
| Type | Name | Description |
|---|---|---|
| INeoDeserializer | reader | |
| NeoSerializedGameObject | nsgo |
ResetTimescale()
Declaration
public void ResetTimescale()
SetTimeScale(Single, Single)
Declaration
public void SetTimeScale(float ts, float drainRate = 0F)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Single | ts | |
| System.Single | drainRate |
Update()
Declaration
protected override void Update()
Overrides
UpdateInput()
Declaration
protected override void UpdateInput()
Overrides
WriteProperties(INeoSerializer, NeoSerializedGameObject, SaveMode)
Declaration
public void WriteProperties(INeoSerializer writer, NeoSerializedGameObject nsgo, SaveMode saveMode)
Parameters
| Type | Name | Description |
|---|---|---|
| INeoSerializer | writer | |
| NeoSerializedGameObject | nsgo | |
| SaveMode | saveMode |
Events
onChargeChanged
Declaration
public event UnityAction<float> onChargeChanged
Event Type
| Type | Description |
|---|---|
| UnityAction<System.Single> |