Responsible for creating and hosting a new room once connected to Master.
More...
|
|
override void | OnMyStateEnter () |
| | Override to use OnStateEnter as extended by this base class. Do not override OnStateEnter!
|
| |
|
void | AddAutoListener (UnityEvent evt, UnityAction callback) |
| | Adds an event and callback which will only be connected for as long as the state is active.
|
| |
|
virtual void | OnMyStateExit () |
| | Override to use OnStateExit as extended by this base class. Do not override OnStateExit!
|
| |
| 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.
|
| |
|
|
float | closeOverlayDelay = 1.0f |
| |
|
| override void | OnStateEnter (Animator animator, AnimatorStateInfo stateInfo, int layerIndex) |
| | Extends the normal OnStateEnter function with state tracking for the containing SM. More...
|
| |
|
override void | OnStateExit (Animator animator, AnimatorStateInfo stateInfo, int layerIndex) |
| |
|
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...
|
| |
|
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!
|
| |
|
ui.StdDialog | netOverlayRef |
| |
|
NetStateMachine | netSM |
| | Correctly shadows the simple 'StateMachine' member of 'State'.
|
| |
|
StateMachine | sm |
| | Reference to the State Machine featuring this behaviour.
|
| |
Responsible for creating and hosting a new room once connected to Master.
Definition at line 6 of file HostNewRoomState.cs.
◆ CloseOverlayAndContinue()
| void CloseOverlayAndContinue |
( |
| ) |
|
|
inlineprivate |
- Todo:
- Think about using events. The logic would then not be distributed any more.
Definition at line 54 of file HostNewRoomState.cs.
The documentation for this class was generated from the following file:
- C:/Users/Toni/Documents/Programming/Unity/BomberUnits/Assets/Scripts/StateMachines/NetSM/HostNewRoomState.cs