Esempio n. 1
0
 public override void Start()
 {
     base.Start();
     propertyText = transform.Find("PropertyPanel/Text").GetComponent <Text>();
     gameMainUI   = GameObject.Find("Canvas").GetComponent <GameMainUI>();
     UpdatePropertyText();
 }
Esempio n. 2
0
 void Awake()
 {
     Instance = this;
 }
Esempio n. 3
0
 void Awake()
 {
     I = this;
 }
Esempio n. 4
0
 public override void Start()
 {
     base.Start();
     InitShop();
     gameMainUI = GameObject.Find("Canvas").GetComponent <GameMainUI>();
 }