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

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

            PratilceController.ActivateAll();
        }
    }