// Use this for initialization void Start() { anim = GetComponent <Animator>(); equipe = GetComponentInParent <Equipe>(); rbBob = GetComponent <Rigidbody2D>(); statsBob = GetComponent <StatsPersos>(); collisionsScript = GetComponent <CollisionEvenement>(); }
// Start is called before the first frame update void Start() { statsEnnemi = gameObject.GetComponent <StatsPersos>(); baseDommage = statsEnnemi.baseDommage; }