private void CheckForTriggering(GameObject otherGO)
        {
            var bulleted = otherGO.GetComponent <IBulleted>();

            if (bulleted == null)
            {
                return;
            }
            bulleted.TakeShot(this.gameObject);
            GunSystemBroker.ActivateGotShotHelp(otherGO);
            StopCoroutine(DestroyingAfterTime());
            DeactivateObject(this.gameObject);
        }
Example #2
0
 private static void ActivateOnBulletDone(GameObject bullet)
 {
     GunSystemBroker.ActivateOnBulletDone(bullet);
 }