public virtual void EjectMagazine() { MagazineSlide ms = GetComponentInChildren <MagazineSlide>(); if (ms != null) { ms.EjectMagazine(); } }
// Eject clips when press Button 1 (B / Y) public override void OnButton2Down() { MagazineSlide ms = GetComponentInChildren <MagazineSlide>(); if (ms != null) { ms.EjectMagazine(); } base.OnButton2Down(); }