Пример #1
0
 // Start is called before the first frame update
 void Start()
 {
     waypoints          = coinConfig.GetWaypoints();
     transform.position = waypoints[currentIndex].transform.position;
     coin     = gameObject.GetComponent <Coin>();
     gameplay = FindObjectOfType <CoinDropGamePlay>();
 }
Пример #2
0
 // Start is called before the first frame update
 void Awake()
 {
     manager  = FindObjectOfType <CoinDropMainManager>();
     gameplay = FindObjectOfType <CoinDropGamePlay>();
 }