コード例 #1
0
ファイル: PlayerAttack.cs プロジェクト: Oxann/Dots
    private void DeactivateRandomFeature()
    {
        if (randomFeature == RandomFeature.UnlimitedFuel)
        {
            Fuel = MaxFuel;
        }
        else if (randomFeature != RandomFeature.Fire)
        {
            scoreMultiplier = 1;
        }

        randomFeature          = RandomFeature.None;
        RandomFeatureText.text = "";

        //It's ended.We need to activate it's spawning.
        enemySpawner.ActivateRandomFeatureSpawn(true);
    }