// Use this for initialization void Start() { System_ = GameObject.Find("System"); System_St = System_.GetComponent <System_Script>(); Game_Script = System_.GetComponent <Game_Script>(); Building_System = System_.GetComponent <Building_System>(); }
void Start() { Parent = gameObject; System_Script.AllWorkers.Add(this.gameObject); SystemSrpt = GameObject.Find("System").GetComponent <System_Script>(); navMeshAgent_SC = this.GetComponent <NavMeshAgent>(); AddToSystem_Srpt = this.GetComponent <AddToSystemList_Script>(); }
// Use this for initialization void Start() { System_Script = this.GetComponent <System_Script>(); IconEdit_Script = this.GetComponent <IconEdit_Script>(); AllBuildings_Script = this.GetComponent <AllBuildings>(); for (int iX = 0; iX < Rows; iX++) { for (int iY = 0; iY < Columns; iY++) { BuildingGrid[iX, iY] = new TerainAdditions { B_Types = BuildingTypes.Nothing, Object = null }; } } }
// Use this for initialization void Start() { Sys_Script = GameObject.Find("System").GetComponent <System_Script>(); }
void Start() { System_Script.AllSelectableGameObjects.Add(this); System_Script = GameObject.Find("System").GetComponent <System_Script>(); }
// Use this for initialization void Start() { systemObj = GameObject.Find("System"); Building_System = systemObj.GetComponent <Building_System>(); System_Script = systemObj.GetComponent <System_Script>(); }
// Use this for initialization void Start() { sentakuki.GetComponent <Text>().text = "避けた洗濯機:" + System_Script.getSentakuki().ToString(); mukade.GetComponent <Text>().text = "集めたムカデ:" + System_Script.getMukade().ToString(); score.GetComponent <Text>().text = "すこあ:" + (System_Script.getSentakuki() * System_Script.getMukade()).ToString(); }
// Use this for initialization void Start() { Sys_ = Sys.GetComponent <System_Script>(); Raider = Sys_.Lego_Raider; }
// Use this for initialization void Start() { twiScore = System_Script.getSentakuki() * System_Script.getMukade(); }