Search Results for

    Show / Hide Table of Contents

    Class SyncVarAttribute

    SyncVars are used to synchronize a variable from the server to all clients automatically.

    Value must be changed on server, not directly by clients. Hook parameter allows you to define a client-side method to be invoked when the client gets an update from the server.

    Inheritance
    Object
    SyncVarAttribute
    Namespace: Mirror
    Assembly: doc.dll
    Syntax
    public class SyncVarAttribute : PropertyAttribute

    Fields

    | Improve this Doc View Source

    hook

    Declaration
    public string hook
    Field Value
    Type Description
    String
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX