Esempio n. 1
0
        private void Awake()
        {
            building        = GetComponent <Building>();
            buildingUpgrade = GetComponent <BuildingUpgrade>();

            building.OnInitialize     += Initialize;
            buildingUpgrade.OnUpgrade += SetPositions;
        }
Esempio n. 2
0
        private void Awake()
        {
            building        = GetComponent <Building>();
            buildingUpgrade = GetComponent <BuildingUpgrade>();

            building.OnInitialize     += Initialize;
            buildingUpgrade.OnUpgrade += UpdateField;
        }