TilePlus Version 5
Unity3D Tilemap Extension
Loading...
Searching...
No Matches
TilePlus.AnimStateTilePingerBase Class Reference

Use as a state machine behaviour to notify a TPT tile, e.g. a TpZoneAnimator. TpZoneAnimator pokes its instance ID into the animator as a parameter (called 'id'). Other uses of this class require a similar setup. More...

Inheritance diagram for TilePlus.AnimStateTilePingerBase:
Collaboration diagram for TilePlus.AnimStateTilePingerBase:

Public Member Functions

override void OnStateEnter (Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
 OnStateEnter handler.

Public Attributes

Guid? m_CallbackGuid = null
 The ZoneAnimator pokes its GUID here for use in callbacks.
bool m_UseExtendedSearch
 Normally false, but set it true if you are using the GUID lookup extended search feature.

Detailed Description

Use as a state machine behaviour to notify a TPT tile, e.g. a TpZoneAnimator. TpZoneAnimator pokes its instance ID into the animator as a parameter (called 'id'). Other uses of this class require a similar setup.

Member Function Documentation

◆ OnStateEnter()

override void TilePlus.AnimStateTilePingerBase.OnStateEnter ( Animator animator,
AnimatorStateInfo stateInfo,
int layerIndex )

OnStateEnter handler.

Parameters
animator
stateInfo
layerIndex

Member Data Documentation

◆ m_CallbackGuid

Guid? TilePlus.AnimStateTilePingerBase.m_CallbackGuid = null

The ZoneAnimator pokes its GUID here for use in callbacks.

◆ m_UseExtendedSearch

bool TilePlus.AnimStateTilePingerBase.m_UseExtendedSearch

Normally false, but set it true if you are using the GUID lookup extended search feature.


The documentation for this class was generated from the following file: