コード例 #1
0
 public Building(Vector3?pos = null)
 {
     coordRef = new GameObject();
     guid     = Guid.NewGuid();
     SceneManager.AddBuilding(this);
     ResetProperties();
     grammars = new List <Grammar>();
     if (pos.HasValue)
     {
         Position = pos.Value;
     }
     else
     {
         pos = new Vector3(0, 0, 0);
     }
 }