Ejemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     playerControllerScript = GameObject.Find("Player").GetComponent <PlayerControllerX>();
 }
Ejemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     InvokeRepeating(nameof(SpawnObjects), spawnDelay, spawnInterval);
     playerControllerScript = GameObject.Find("Player").GetComponent <PlayerControllerX>();
 }