コード例 #1
0
ファイル: ClientsideController.cs プロジェクト: TxN/VoxelLand
 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;
 }
コード例 #2
0
ファイル: ClientsideController.cs プロジェクト: TxN/VoxelLand
 protected BaseClientsideController(ClientGameManager owner)
 {
     Owner = owner;
 }