![]() |
BomberUnits
...a Unity learning project
|
During the startup the managers can prepare a stable state. More...
Inheritance diagram for StartupState:
Collaboration diagram for StartupState:Public Member Functions | |
| override void | OnStateUpdate (UnityEngine.Animator animator, UnityEngine.AnimatorStateInfo stateInfo, int layerIndex) |
Public Member Functions inherited from State | |
| bool | IsActiveState () |
| Provides a check, whether this state is the current active state in the State Machine. | |
| override void | OnStateMachineEnter (Animator animator, int stateMachinePathHash) |
| Used to set references between SM and states. More... | |
| override void | OnStateEnter (Animator animator, AnimatorStateInfo stateInfo, int layerIndex) |
| Extends the normal OnStateEnter function with state tracking for the containing SM. More... | |
Public Attributes | |
| float | startUpScreenDelay = 5.0f |
Public Attributes inherited from State | |
| new string | name |
| Name of the state, to be set exactly as in the Animator View! | |
| List< string > | triggers |
| Names of outgoing transitions allowed for the state, set as in Animator! | |
Protected Member Functions | |
| override void | OnMyStateEnter () |
| Override to use OnStateEnter as extended by this base class. Do not override OnStateEnter! | |
Protected Member Functions inherited from State | |
| void | TriggerTransition (string transName, float delay=0.0f) |
| Shortcut to trigger transitions from within this state for this state (i.e. More... | |
| virtual void | Awake () |
| Override to use an Awake function, which is not normally available for StateMachineBehaviours. | |
Private Attributes | |
| bool | triggered = false |
Additional Inherited Members | |
Protected Attributes inherited from State | |
| StateMachine | sm |
| Reference to the State Machine featuring this behaviour. | |
During the startup the managers can prepare a stable state.
We are not waiting for the onJoinedRoom Event here, as it may have happened before this is first entered!
Definition at line 8 of file StartupState.cs.