MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Update

Method Update

Source/Editor/States/EditorStateMachine.cs:89–103  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87 }
88
89 internal void Update()
90 {
91 // Changing states
92 while (_pendingStates.Count > 0)
93 {
94 GoToState(_pendingStates.Dequeue());
95 }
96
97 // State update
98 if (CurrentState != null)
99 {
100 CurrentState.Update();
101 CurrentState.UpdateFPS();
102 }
103 }
104
105 /// <inheritdoc />
106 protected override void SwitchState(State nextState)

Callers

nothing calls this directly

Calls 2

DequeueMethod · 0.45
UpdateFPSMethod · 0.45

Tested by

no test coverage detected