コード例 #1
0
 void Start()
 {
     pct         = GameObject.FindGameObjectWithTag("Player").GetComponent <PlayerController>();
     equip_point = GameObject.FindGameObjectWithTag("equip_point").transform;
     AccInven    = GameObject.Find("InventoryPanel").GetComponent <Invenotry>();
     AccSM       = GameObject.Find("StoragePanel").GetComponent <storage>();
     Acctt       = GameObject.Find("tooltip").GetComponent <Tooltipmanager>();
     Accim       = GameObject.Find("inputpanel").GetComponent <InputPanelManager>();
 }
コード例 #2
0
 // Start is called before the first frame update
 void Start()
 {
     AccInven = GameObject.Find("InventoryPanel").GetComponent <Invenotry>();
     AccSM    = GameObject.Find("StoragePanel").GetComponent <storage>();
 }