Exemple #1
0
        public static void SendCommand(GameObjectCommand command)
        {
            NetworkCommandObject completeCommand = new NetworkCommandObject()
            {
                ClientId = instance.NetReference.ClientId,
                Command = command,
                CommandType = NetworkCommandType.GameObjectCommand,
            };

            instance.NetReference.Input.Add(completeCommand);
        }
Exemple #2
0
 public static void SendCommand(NetworkCommandObject command)
 {
     instance.NetReference.Input.Add(command);
 }