Class: LogicBehaviour
- Namespace:
Global - Assembly:
Dew.Core.dll - Inheritance / Derived: CharacterModelDisplay → CinematicCameraHelper → CustomLogicBehavior → DewBeamRenderer → DewCanvas → FxAttachToEntity → FxCastTelegraph → FxRepeatedEffect → HighlightProvider →
ManagerBase<T>→ PlayLobby_Character → PlayLobby_Fireplace → RoomSection → RoomSectionComponent → Title_LastGameCharacters → UI_BindItem → UI_GamepadBindButton
csharp
public class LogicBehaviour : MonoBehaviour, ILogicUpdateProperties
| Name | Declaration | Description |
|---|---|---|
shouldRegisterUpdates | public virtual bool shouldRegisterUpdates { get; } |
Methods
FrameUpdate()
csharp
public virtual void FrameUpdate()GetComponent<T>(out T)
csharp
protected void GetComponent<T>(out T comp)Parameters:
| Name | Type | Description |
|---|---|---|
comp | T | |
| `` | T |
LogicUpdate(float)
csharp
public virtual void LogicUpdate(float dt)Parameters:
| Name | Type | Description |
|---|---|---|
dt | float |
OnDisable()
csharp
protected virtual void OnDisable()OnEnable()
csharp
protected virtual void OnEnable()