A message packet with an info for an animator.
More...
|
| | AnimatorControlPacket (int hash, string stateName="", int layerIndex=-1, Object? sourceInstance=null) |
| | Initializes a new instance of the class with state info.
|
| | AnimatorControlPacket (bool despawn, Object? sourceInstance=null) |
| | Initializes a new instance for despawning.
|
| override string | ToString () |
| virtual void | Reset () |
| | Reset the SourceInstance. Override for additional resets of variables holding references.
|
|
| readonly bool | m_Despawn |
| | When used with TpZoneAnimator, signals the tile to despawn the prefab. Does not make sense to use this if the prefab was spawned from the Tile having it's gameObject field populated rather than the tile's m_Prefab field.
|
| readonly int | m_Hash |
| | An integer.
|
| readonly string | m_StateName |
| | optional state name
|
| readonly int | m_LayerIndex |
| | optional layer index
|
|
| | MessagePacket (Object? sourceInstance) |
| | Source Instance for this packet. Can be null.
|
| Object? | SourceInstance [get, set] |
| | The instance that's the source of the message. Can be null.
|
| ulong | Id [get, set] |
| | The ID of this packet. Packet recepients can test this to see if they're being sent the same message repeatedly. Note that 0 is not used except internally.
|
A message packet with an info for an animator.
◆ AnimatorControlPacket() [1/2]
| TilePlus.AnimatorControlPacket.AnimatorControlPacket |
( |
int | hash, |
|
|
string | stateName = "", |
|
|
int | layerIndex = -1, |
|
|
Object? | sourceInstance = null ) |
Initializes a new instance of the class with state info.
- Parameters
-
| hash | |
| stateName | |
| layerIndex | |
| sourceInstance | Source of message or null |
◆ AnimatorControlPacket() [2/2]
| TilePlus.AnimatorControlPacket.AnimatorControlPacket |
( |
bool | despawn, |
|
|
Object? | sourceInstance = null ) |
Initializes a new instance for despawning.
- Parameters
-
| despawn | |
| sourceInstance | Source of message or null |
◆ ToString()
| override string TilePlus.AnimatorControlPacket.ToString |
( |
| ) |
|
◆ m_Despawn
| readonly bool TilePlus.AnimatorControlPacket.m_Despawn |
When used with TpZoneAnimator, signals the tile to despawn the prefab. Does not make sense to use this if the prefab was spawned from the Tile having it's gameObject field populated rather than the tile's m_Prefab field.
◆ m_Hash
| readonly int TilePlus.AnimatorControlPacket.m_Hash |
◆ m_LayerIndex
| readonly int TilePlus.AnimatorControlPacket.m_LayerIndex |
◆ m_StateName
| readonly string TilePlus.AnimatorControlPacket.m_StateName |
The documentation for this class was generated from the following file:
- /Users/jms/Documents/Tpt_55/TPT55/Assets/Plugins/TilePlus/Runtime/StaticLib/ClassesEnums/MessagingClasses.cs