The interface that the QuantumEntityViewUpdater uses to control the view components (QuantumViewComponent<T>). More...
Public Member Functions | |
void | Activate (Frame frame, QuantumGame game, QuantumEntityView entityView) |
Is called when the entity view is activated after being created or reused from the pool. More... | |
void | Deactivate () |
Is called when the entity view is destroyed or returned to the pool. More... | |
void | GameChanged (QuantumGame game) |
Is called when the game has changed in the QuantumEntityViewUpdater. More... | |
void | Initialize (Dictionary< Type, IQuantumViewContext > contexts) |
Is called when the entity view is enabled for the first time. More... | |
void | LateUpdateView () |
Is call on all entity views Unity late update. More... | |
void | UpdateView () |
Is called when the entity view is updated from the Unity update loop. More... | |
Properties | |
bool | IsActive [get] |
Is toggled during Activate and Deactivate."/> More... | |
bool | IsActiveAndEnabled [get] |
Returns IsActive More... | |
bool | IsInitialized [get] |
The initialized state has to kept track of by the view component to not call it multiple times. More... | |
The interface that the QuantumEntityViewUpdater uses to control the view components (QuantumViewComponent<T>).
void Quantum.IQuantumViewComponent.Initialize | ( | Dictionary< Type, IQuantumViewContext > | contexts | ) |
Is called when the entity view is enabled for the first time.
contexts | All view contexts |
Implemented in Quantum.QuantumViewComponent< T >.
void Quantum.IQuantumViewComponent.Activate | ( | Frame | frame, |
QuantumGame | game, | ||
QuantumEntityView | entityView | ||
) |
Is called when the entity view is activated after being created or reused from the pool.
frame | Frame |
game | Quantum game |
entityView | Associated entity view |
Implemented in Quantum.QuantumViewComponent< T >.
void Quantum.IQuantumViewComponent.Deactivate | ( | ) |
Is called when the entity view is destroyed or returned to the pool.
Implemented in Quantum.QuantumViewComponent< T >.
void Quantum.IQuantumViewComponent.UpdateView | ( | ) |
Is called when the entity view is updated from the Unity update loop.
Implemented in Quantum.QuantumViewComponent< T >.
void Quantum.IQuantumViewComponent.LateUpdateView | ( | ) |
Is call on all entity views Unity late update.
Implemented in Quantum.QuantumViewComponent< T >.
void Quantum.IQuantumViewComponent.GameChanged | ( | QuantumGame | game | ) |
Is called when the game has changed in the QuantumEntityViewUpdater.
game |
Implemented in Quantum.QuantumViewComponent< T >.
|
get |
Is toggled during Activate and Deactivate."/>
|
get |
Returns IsActive
|
get |
The initialized state has to kept track of by the view component to not call it multiple times.