Search Results for

    Show / Hide Table of Contents

    StateBase

    Base class for performing State transitions in SceneStateManager.

    namespace GarageKit
    public class StateBase : MonoBehaviour, IState
    

    Inheritance

    StateBase -> MonoBehaviour, IState

    Properties

    member type description
    updateEnable bool Can be used to enable/disable StateUpdate() processing

    Methods

    Checking the validity of StateUpdate() processing

    public bool IsUpdateEnable { get; }
    

    The first process executed within a State after a State transition

    public virtual void StateStart(object context)
    

    Processing executed every frame within State after State transition

    public virtual void StateUpdate()
    

    The last process executed within a State during a State transition

    public virtual void StateExit()
    
    • Edit this page
    In this article
    Back to top Generated by DocFX