Ejemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     repeatRate = Random.Range(1.0f, 3.0f);
     InvokeRepeating("SpawnObstacle", startDelay, repeatRate);
     playerControllerScript = GameObject.Find("Player").GetComponent <P10PlayerController>();
 }
Ejemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     playerControllerScript = GameObject.Find("Player").GetComponent <P10PlayerController>();
 }