Class ScriptBehaviourUpdateOrder | Entities | 0.11.2-preview.1
docs.unity.cn
    Show / Hide Table of Contents

    Class ScriptBehaviourUpdateOrder

    Inheritance
    Object
    ScriptBehaviourUpdateOrder
    Namespace: Unity.Entities
    Syntax
    public static class ScriptBehaviourUpdateOrder

    Methods

    IsWorldInPlayerLoop(World)

    Declaration
    public static bool IsWorldInPlayerLoop(World world)
    Parameters
    Type Name Description
    World world
    Returns
    Type Description
    Boolean

    UpdatePlayerLoop(World, Nullable<PlayerLoopSystem>)

    Update the player loop with a world's root-level systems

    Declaration
    public static void UpdatePlayerLoop(World world, PlayerLoopSystem? existingPlayerLoop = default(PlayerLoopSystem? ))
    Parameters
    Type Name Description
    World world

    World with root-level systems that need insertion into the player loop

    Nullable<PlayerLoopSystem> existingPlayerLoop

    Optional parameter to preserve existing player loops (e.g. PlayerLoop.GetCurrentPlayerLoop())

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Monday, October 19, 2020