Exemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     _webServer = GetComponent <XServerBehaviour> ();
     _webServer.RegisterController(new LobbyController(_webServer, this));
     _webServer.RegisterController(new IMTController(_webServer, this));
     _webServer.RegisterController(new TheatreController(_webServer, this));
     _webServer.RegisterController(new CommandsController(_webServer, this));
 }
Exemplo n.º 2
0
 public VMController(string route, XServerBehaviour server, ViewMasterController vmc, bool exactRoute = true)
     : base(route, exactRoute)
 {
     Server = server;
     ViewMasterController = vmc;
 }