Exemplo n.º 1
0
 void Start()
 {
     Player      = GameObject.FindGameObjectWithTag("Player");
     Vida_Player = Player.GetComponent <Vida_Player>();
     moveScript  = Player.GetComponent <MoveRigidbody>();
 }
Exemplo n.º 2
0
 void Start()
 {
     Player      = GameObject.FindGameObjectWithTag("Player");
     Vida_Player = Player.GetComponent <Vida_Player>();
 }