public void OnUnequip() { stManager.GearStats -= gearStats; stManager = null; weaponManager = null; aimGatherer = null; }
public void OnEquip(WeaponManager manager) { stManager = GetComponentInParent <StatsManager>(); stManager.GearStats += gearStats; weaponManager = manager; aimGatherer = GetComponentInParent <IAimGatherer>(); }