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); }
private static void ActivateOnBulletDone(GameObject bullet) { GunSystemBroker.ActivateOnBulletDone(bullet); }