コード例 #1
0
 public GameObjectController()
 {
     if (_goc != null)
     {
         throw new InvalidOperationException("GameObjectController created twice");
     }
     _goc = this;
     _gol = new List <GameObject>();
 }
コード例 #2
0
 public GameObjectController()
 {
     if (_goc != null) { throw new InvalidOperationException("GameObjectController created twice"); }
     _goc = this;
     _gol = new List<GameObject>();
 }