Exemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     player = FindObjectOfType <playerControllerUno>();
     anim   = GetComponent <Animator>();
     anim.SetBool("controlando", false);
     posInicial = transform.position;
 }
Exemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     player     = FindObjectOfType <playerControllerUno>();
     posInicial = transform.position;
 }