示例#1
0
 private void Start()
 {
     linearInventory = FindObjectOfType <LinearInventory>();
     uIInventory     = FindObjectOfType <UIInventory>();
 }
示例#2
0
 // Start is called before the first frame update
 void Start()
 {
     inventory = FindObjectOfType <LinearInventory>();
     AssignKey();
 }