Class TurnBasedManager Extends VersionedMonoBehaviour
Public
Helper script in the example scene 'Turn Based'.
Public Variables
layerMask
Public
movementSpeed
Public
nodePrefab
Public
state
Public
Public Enums
State
Public
Private/Protected Members
Awake
()
Protected
DestroyPossibleMoves
()
[MoveAlongPath]
Private
GeneratePossibleMoves
(unit)
[GeneratePossibleMoves]
Private
GetByRay<T>
(ray)
Private
HandleButtonUnderRay
(ray)
Private
MoveAlongPath
(unit, path, speed)
[MoveAlongPath]
Private
Static
MoveToNode
(unit, node)
Private
OnUpgradeSerializedData
(migrations, unityThread)
Handle serialization backwards compatibility.
Protected
Reset
()
Handle serialization backwards compatibility.
Protected
Select
(unit)
Private
Update
()
Private
UpgradeSerializedData
(isUnityThread)
Protected
eventSystem
Private
possibleMoves
Private
selected
Private