// Start is called before the first frame update void Start() { //andar = Defines.Andar("normal"); efeitos = new List <Efeito>(); //valores auxiliares para movimentação no campo de batalha rota = new List <Vector3>(); rotaBacktrack = new List <Vector3>(); destinoFinal = transform.position; inventario = new Item[8]; habilidades = new Habilidade[8]; //atributos Defines.Inicializacao(nome, gameObject); gs = GameObject.Find("Gerenciador").GetComponent <GerenciadorScript>(); gs.AdicionarPersonagem(gameObject); anim = GetComponent <Animator>(); ControladorDano.Init(); ap = GameObject.Find("Placeholder").GetComponent <AttackParent>(); }