Пример #1
0
 private void Start()
 {
     inv_no = GameObject.Find("bagsystem").GetComponent <inventory3_noglobal>();
     this_g = this.gameObject;
     // amount = 1;
     this_sprite = this.GetComponent <Image>();
     amount_text = this.transform.GetChild(0).GetComponent <Text>();
 }
Пример #2
0
 void Start()
 {
     inv3_no     = GetComponent <inventory3_noglobal>();
     database    = GetComponent <Itemdata>();
     item_load   = new int[12];
     item_load_a = new int[12];
     amount      = new int[12];
 }
Пример #3
0
 // Use this for initialization
 void Start()
 {
     inv_no    = GetComponent <inventory3_noglobal>();
     contorl_a = 0;
 }