public static void SendCommand(GameObjectCommand command) { NetworkCommandObject completeCommand = new NetworkCommandObject() { ClientId = instance.NetReference.ClientId, Command = command, CommandType = NetworkCommandType.GameObjectCommand, }; instance.NetReference.Input.Add(completeCommand); }
public static void SendCommand(NetworkCommandObject command) { instance.NetReference.Input.Add(command); }