Base interface for all states More...
Public Member Functions | |
void | AddAnimator (UE.Animator animator) |
void | AddCallback (string path, PropertyCallback callback) |
Allows you to hook up a callback to a specific property More... | |
void | AddCallback (string path, PropertyCallbackSimple callback) |
Allows you to hook up a callback to a specific property More... | |
void | ForceTransform (NetworkTransform transform, UnityEngine.Vector3 position) |
void | ForceTransform (NetworkTransform transform, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation) |
object | GetDynamic (string property) |
Gets a property dynamically by string name More... | |
void | RemoveAllCallbacks () |
Clears all callbacks currently set. This is useful when pooling entities and you wish to clear out the current callbacks before returning the entity to the pool. More... | |
void | RemoveCallback (string path, PropertyCallback callback) |
Removes a callback from a property More... | |
void | RemoveCallback (string path, PropertyCallbackSimple callback) |
Removes a callback from a property More... | |
void | SetAnimator (UE.Animator animator) |
Set the animator object this state should use for reading/writing mecanim parameters More... | |
void | SetDynamic (string property, object value) |
Set a property dynamically by string name More... | |
void | SetTeleport (NetworkTransform transform) |
void | SetTransforms (NetworkTransform transform, UnityEngine.Transform simulate) |
void | SetTransforms (NetworkTransform transform, UnityEngine.Transform simulate, UnityEngine.Transform render) |
bool | TryGetDynamic (string property, out object value) |
bool | TrySetDynamic (string property, object value) |
Properties | |
IEnumerable< UE.Animator > | AllAnimators [get] |
A collection of all Animator components associated with this entity state More... | |
UE.Animator | Animator [get] |
The Animator component associated with this entity state More... | |
Base interface for all states
void Photon.Bolt.IState.AddAnimator | ( | UE.Animator | animator | ) |
void Photon.Bolt.IState.AddCallback | ( | string | path, |
PropertyCallback | callback | ||
) |
Allows you to hook up a callback to a specific property
path | The path of the property |
callback | The callback delegate |
void Photon.Bolt.IState.AddCallback | ( | string | path, |
PropertyCallbackSimple | callback | ||
) |
Allows you to hook up a callback to a specific property
path | The path of the property |
callback | The callback delegate |
void Photon.Bolt.IState.ForceTransform | ( | NetworkTransform | transform, |
UnityEngine.Vector3 | position | ||
) |
void Photon.Bolt.IState.ForceTransform | ( | NetworkTransform | transform, |
UnityEngine.Vector3 | position, | ||
UnityEngine.Quaternion | rotation | ||
) |
object Photon.Bolt.IState.GetDynamic | ( | string | property | ) |
Gets a property dynamically by string name
property | The property name to get |
void Photon.Bolt.IState.RemoveAllCallbacks | ( | ) |
Clears all callbacks currently set. This is useful when pooling entities and you wish to clear out the current callbacks before returning the entity to the pool.
void Photon.Bolt.IState.RemoveCallback | ( | string | path, |
PropertyCallback | callback | ||
) |
Removes a callback from a property
path | The path of the property |
callback | The callback delegate to remove |
void Photon.Bolt.IState.RemoveCallback | ( | string | path, |
PropertyCallbackSimple | callback | ||
) |
Removes a callback from a property
path | The path of the property |
callback | The callback delegate to remove |
void Photon.Bolt.IState.SetAnimator | ( | UE.Animator | animator | ) |
Set the animator object this state should use for reading/writing mecanim parameters
animator | The animator object to use |
void Photon.Bolt.IState.SetDynamic | ( | string | property, |
object | value | ||
) |
Set a property dynamically by string name
property | The property name to set |
value | The property value to set |
void Photon.Bolt.IState.SetTeleport | ( | NetworkTransform | transform | ) |
void Photon.Bolt.IState.SetTransforms | ( | NetworkTransform | transform, |
UnityEngine.Transform | simulate | ||
) |
void Photon.Bolt.IState.SetTransforms | ( | NetworkTransform | transform, |
UnityEngine.Transform | simulate, | ||
UnityEngine.Transform | render | ||
) |
bool Photon.Bolt.IState.TryGetDynamic | ( | string | property, |
out object | value | ||
) |
bool Photon.Bolt.IState.TrySetDynamic | ( | string | property, |
object | value | ||
) |
|
get |
A collection of all Animator components associated with this entity state
|
get |
The Animator component associated with this entity state