Search Results for

    Show / Hide Table of Contents

    Class CustomLogicBehavior

    Lets you add various life-cycle functions on a game object on runtime.

    Inheritance
    object
    UnityEngine.Object
    UnityEngine.Component
    UnityEngine.Behaviour
    UnityEngine.MonoBehaviour
    LogicBehaviour
    CustomLogicBehavior
    Implements
    ILogicUpdate
    Inherited Members
    LogicBehaviour.shouldRegisterUpdates
    LogicBehaviour.GetComponent<T>(out T)
    Namespace: Global
    Assembly: Dew.Core.dll
    Syntax
    public class CustomLogicBehavior : LogicBehaviour, ILogicUpdate

    Fields

    onDestroy

    Declaration
    public Action onDestroy
    Field Value
    Type Description
    System.Action

    onDisable

    Declaration
    public Action onDisable
    Field Value
    Type Description
    System.Action

    onEnable

    Declaration
    public Action onEnable
    Field Value
    Type Description
    System.Action

    onFrameUpdate

    Declaration
    public Action onFrameUpdate
    Field Value
    Type Description
    System.Action

    onLogicUpdate

    Declaration
    public Action onLogicUpdate
    Field Value
    Type Description
    System.Action

    onStart

    Declaration
    public Action onStart
    Field Value
    Type Description
    System.Action

    Methods

    FrameUpdate()

    Declaration
    public override void FrameUpdate()
    Overrides
    LogicBehaviour.FrameUpdate()

    LogicUpdate(float)

    Declaration
    public override void LogicUpdate(float dt)
    Parameters
    Type Name Description
    float dt
    Overrides
    LogicBehaviour.LogicUpdate(float)

    OnDestroy()

    Declaration
    protected virtual void OnDestroy()

    OnDisable()

    Declaration
    protected override void OnDisable()
    Overrides
    LogicBehaviour.OnDisable()

    OnEnable()

    Declaration
    protected override void OnEnable()
    Overrides
    LogicBehaviour.OnEnable()

    Start()

    Declaration
    protected virtual void Start()

    Implements

    ILogicUpdate

    Extension Methods

    DewGUI.SetExpandHeight<T>(T, bool)
    DewGUI.SetExpandHeight<T>(T, float)
    DewGUI.SetExpandWidth<T>(T, bool)
    DewGUI.SetExpandWidth<T>(T, float)
    DewGUI.SetHeight<T>(T, float)
    DewGUI.SetText<T>(T, string)
    DewGUI.SetTextLocalized<T>(T, string)
    DewGUI.SetWidth<T>(T, float)
    In This Article
    Back to top Shape of Dreams API Documentation