Example #1
0
        public override void OnNetworkDestroy()
        {
            TargetTuple.Reset();

            MatchSession.Current.RegisterUnitDeath(this);

            Platoon.RemoveUnit(this);
        }
Example #2
0
        public override void OnNetworkDestroy()
        {
            // Model lingers as a wreck for 30s
            if (_deathEffect != null)
            {
                _deathEffect.Activate(_art);
            }

            TargetTuple.Reset();

            MatchSession.Current.RegisterUnitDeath(this);

            Platoon.RemoveUnit(this);
        }