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

    Class ScriptBehaviourUpdateOrder

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

    Properties

    CurrentPlayerLoop

    Declaration
    public static PlayerLoopSystem CurrentPlayerLoop { get; }
    Property Value
    Type Description
    PlayerLoopSystem

    Methods

    SetPlayerLoop(PlayerLoopSystem)

    Declaration
    public static void SetPlayerLoop(PlayerLoopSystem playerLoop)
    Parameters
    Type Name Description
    PlayerLoopSystem playerLoop

    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. ScriptBehaviourUpdateOrder.CurrentPlayerLoop)

    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX