示例#1
0
        public override void Shoot(ICollider target)
        {
            if (target != null)
            {
                if (IsActive())
                {
                    mShoot = true;
                    mDirector.GetSoundManager.PlaySound(mSoundId);
                }

                target.MakeDamage(MilitaryUnitStats.mTurretStrength);
            }
        }