示例#1
0
 void Start()
 {
     inven     = (CreateInventory)FindObjectOfType(typeof(CreateInventory));
     checkitem = (Check_Item)FindObjectOfType(typeof(Check_Item));
     if (what_code_item_can_get == "#00x-xx")
     {
         this.gameObject.name = My_Slot_Number.ToString();
     }
 }
示例#2
0
 void Start()
 {
     createinven = (CreateInventory)FindObjectOfType(typeof(CreateInventory));
     check_Item  = (Check_Item)FindObjectOfType(typeof(Check_Item));
     This_Button = this.gameObject.GetComponent <Button>();
     This_Button.interactable = false;
     Check_Item_For_Craft();
     Chang_Pic();
 }
示例#3
0
 void Start()
 {
     checkitem = (Check_Item)FindObjectOfType(typeof(Check_Item));
 }