Example #1
0
    void UseShockwave()
    {
        if (shockwaveAvailable)
        {
            MakeShockwaveUnavailable();
            PratilceController.ActivateAll();

            // EXPLOSION
            SpawnShockwave();
            TurnInvincablele();
        }
    }
Example #2
0
    public void Activate()
    {
        if (!active)
        {
            source.Play();
            active = true;
            StartCoroutine("Attack");
            if (scoreTimer != null)
            {
                scoreTimer.StartTimer();
            }

            PratilceController.ActivateAll();
        }
    }