Struct ActiveState | DOTS Timeline | 0.4.0-preview.5
docs.unity3d.com
    Show / Hide Table of Contents

    Struct ActiveState

    Current state of entity in the scheduler

    Namespace: Unity.Scheduler
    Syntax
    public struct ActiveState : IComponentData

    Fields

    LastFrame

    The entity was active in the previous frame

    Declaration
    public bool LastFrame
    Field Value
    Type Description
    Boolean

    ThisFrame

    The entity is active this frame

    Declaration
    public bool ThisFrame
    Field Value
    Type Description
    Boolean

    Properties

    Active

    The item is active this frame

    Declaration
    public bool Active { get; }
    Property Value
    Type Description
    Boolean

    BecameActive

    The item became active this frame

    Declaration
    public bool BecameActive { get; }
    Property Value
    Type Description
    Boolean

    BecameInActive

    The item became inactive this frame

    Declaration
    public bool BecameInActive { get; }
    Property Value
    Type Description
    Boolean
    Back to top
    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