Exemple #1
0
 protected ServerSideController(ServerGameManager 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;
 }
Exemple #2
0
 protected BaseServersideController(ServerGameManager owner)
 {
     Owner = owner;
 }