// Use this for initialization
 void Start()
 {
     buildingPlacement = GetComponent<BuildingPlacement>();
     buildingPlacement.SetManager (this);
     castle = GameObject.Find("Castle").GetComponent<CastleHealth>();
 }
Пример #2
0
 // Use this for initialization
 void Start()
 {
     buildingPlacement = GetComponent <BuildingPlacement>();
     buildingPlacement.SetManager(this);
     castle = GameObject.Find("Castle").GetComponent <CastleHealth>();
 }