Пример #1
0
    // Use this for initialization
    void Start()
    {
        rend = GetComponent <Renderer>();
        //buildingRend = buildings.GetComponent<Renderer>();

        buildMenu = buildMenu.instance;
    }
Пример #2
0
 void Awake()
 {
     instance = this;
 }
Пример #3
0
 private void Start()
 {
     buildMenu = buildMenu.instance;
 }