Пример #1
0
    public static DoorNewPlayer Send(uint netId)
    {
        DoorNewPlayer msg = new DoorNewPlayer
        {
            Door = netId
        };

        msg.Send();
        return(msg);
    }
Пример #2
0
 public override void OnStartClient()
 {
     EnsureInit();
     SyncIsWelded(isWelded, isWelded);
     DoorNewPlayer.Send(netId);
 }