예제 #1
0
    public override void OnKilled(HitInfo info)
    {
        BaseProjectile attachedWeapon = GetAttachedWeapon();

        if (attachedWeapon != null)
        {
            attachedWeapon.SetGenericVisible(false);
            attachedWeapon.SetLightsOn(false);
        }
        AttachedWeapon = null;
        base.OnKilled(info);
    }