docs.unity3d.com
    Show / Hide Table of Contents

    Class Lifecycle<TState>

    Inheritance
    Object
    Lifecycle<TState>
    Namespace: Unity.Reflect.ActorFramework
    Syntax
    public class Lifecycle<TState>
    Type Parameters
    Name Description
    TState

    Constructors

    Lifecycle(Action<TState>, Action<TState>, Action<TState>, Action<TState>, Func<TState, TimeSpan, TickResult>)

    Declaration
    public Lifecycle(Action<TState> initialize, Action<TState> shutdown, Action<TState> start, Action<TState> stop, Func<TState, TimeSpan, TickResult> tick)
    Parameters
    Type Name Description
    Action<TState> initialize
    Action<TState> shutdown
    Action<TState> start
    Action<TState> stop
    Func<TState, TimeSpan, TickResult> tick

    Fields

    Initialize

    Declaration
    public Action<TState> Initialize
    Field Value
    Type Description
    Action<TState>

    Shutdown

    Declaration
    public Action<TState> Shutdown
    Field Value
    Type Description
    Action<TState>

    Start

    Declaration
    public Action<TState> Start
    Field Value
    Type Description
    Action<TState>

    Stop

    Declaration
    public Action<TState> Stop
    Field Value
    Type Description
    Action<TState>

    Tick

    Declaration
    public Func<TState, TimeSpan, TickResult> Tick
    Field Value
    Type Description
    Func<TState, TimeSpan, TickResult>
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023