示例#1
0
        public void DisableEnemy(int index)
        {
            int waveIndex = GetEnemyWaveIndex(index);

            Effects.TweenColor(_waves[waveIndex]._enemy, 0, GameManager.Instance.Definitions.DisabledEnemyColor, Tweener.Method.Linear);
            Effects.ChangeMaterial(_waves[waveIndex]._enemy, GameManager.Instance.Definitions.DisabledEnemyMaterial);
        }