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>(); }
// Start is called before the first frame update void Start() { AccInven = GameObject.Find("InventoryPanel").GetComponent <Invenotry>(); AccSM = GameObject.Find("StoragePanel").GetComponent <storage>(); }