Exemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     cppj = FindObjectOfType <CheckpointsPerPJ>();
 }
Exemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     levelManager = FindObjectOfType <LevelManager>(); //encuentra el objeto LevelManager
     cpp          = FindObjectOfType <CheckpointsPerPJ>();
 }