Enum SyncList<T>.Operation | Multiplayer HLAPI | 1.0.8
docs.unity.cn
    Show / Hide Table of Contents

    Enum SyncList<T>.Operation

    The types of operations that can occur for SyncLists.

    Namespace: UnityEngine.Networking
    Syntax
    public enum Operation

    Fields

    Name Description Value
    OP_ADD

    Item was added to the list.

    0
    OP_CLEAR

    The list was cleared.

    1
    OP_INSERT

    An item was inserted into the list.

    2
    OP_REMOVE

    An item was removed from the list.

    3
    OP_REMOVEAT

    An item was removed at an index from the list.

    4
    OP_SET

    An item was set to a new value in the list.

    5
    OP_DIRTY

    An item in the list was manually marked dirty.

    6
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 15 December 2020