// Use this for initialization void Start() { Health = MaxHealth; position = this.transform.position; ori = 0; dimension = GameObject.FindGameObjectWithTag("MapManager").GetComponent<MapManager>().dimension; taille = GameObject.FindGameObjectWithTag("MapManager").GetComponent<MapManager>().taille; anim = GetComponentsInChildren<Animator>(); Debug.Log(anim.ToString()); anim1 = anim[0]; Debug.Log(anim1.ToString()); anim2 = anim[1]; Debug.Log(anim2.ToString()); }