Example #1
0
 protected ClientsideController(ClientGameManager owner) : base(owner)
 {
     if (Instance != null)
     {
         var text = string.Format(
             "StateController<{0}>. Instance already created!",
             typeof(T).Name);
         throw new UnityException(text);
     }
     Instance = this as T;
 }
Example #2
0
 protected BaseClientsideController(ClientGameManager owner)
 {
     Owner = owner;
 }