Exemplo n.º 1
0
 public void UpdateKillType(EnemyDamageTouchAction damageType)
 {
     howTheEnemyIsDamaged = damageType;
     UpdateTouchEvent();
 }
        void AssignCurrentDamageAction()
        {
            int i = Random.Range(0, damageActions.Length);

            currentDamageAction = damageActions[i];
        }