// Start is called before the first frame update
 void Start()
 {
     Instantiate(player, new Vector2(0, 0), Quaternion.identity);
     rsg = GameObject.Find("Shop").GetComponent <RandomShopGenerator>();
 }
示例#2
0
 void Start()
 {
     Shop = GameObject.Find("Shop");
     rsg  = Shop.GetComponent <RandomShopGenerator>();
 }