예제 #1
0
    public void DestroyObj()
    {
        if (isVirus)
        {
            GameStats.DecreaseVirus();
        }

        GameBuilder.Instance.SetDestroyObj(gameObject, typeOfEnemy, delayToDestroy);
    }
예제 #2
0
 private void OnDisable()
 {
     GameStats.DecreaseVirus();
 }