Пример #1
0
 // Start is called before the first frame update
 void Start()
 {
     PlayerPosition = GameObject.FindWithTag("Player").GetComponent <PosicionInicial>();
 }
Пример #2
0
 // Start is called before the first frame update
 void Start()
 {
     playerVida = GameObject.FindWithTag("Player").GetComponent <VidaPlayer>();
     inicial    = GameObject.FindWithTag("Player").GetComponent <PosicionInicial>();
     jugador    = GameObject.FindWithTag("Player");
 }