// Start is called before the first frame update
 void Start()
 {
     InvokeRepeating("SpawnObstacle", startDelay, repeatRate);
     playerControllerScript = GameObject.Find("Player").GetComponent <PlayerControllerCH3>();
 }
示例#2
0
 // Start is called before the first frame update
 void Start()
 {
     playerControllerScript = GameObject.Find("Player").GetComponent <PlayerControllerCH3>();
 }