コード例 #1
0
 private void Start()
 {
     inventoryBar = FindObjectOfType <UIInventoryBar>();
 }
コード例 #2
0
 // On Start, find the UIInventoryBar
 private void Start()
 {
     // Find the UIInventoryBar, and populate it so we can access it later (to deselect selected items on load)
     inventoryBar = FindObjectOfType <UIInventoryBar>();
 }