示例#1
0
 // Start is called before the first frame update
 void Start()
 {
     gold_count       = 0;
     player_inventory = FindObjectOfType <PlayerGoldInventory>();
 }
示例#2
0
 // Start is called before the first frame update
 void Start()
 {
     gold_manager     = FindObjectOfType <GoldManager>();
     player_inventory = FindObjectOfType <PlayerGoldInventory>();
 }