示例#1
0
    void Start()
    {
        //speakerMusic = GetComponent<AudioSource>();

        speakerMusic.Play(1);

        currentHP = maxHealth;
        healthBar.SetPlayerMaxHealth(maxHealth);
        GM.score     = 0;
        currentPower = 0;
        powerBar.SetPowerUp(currentPower);
        //powerBar.Se(maxHealth);
        smallAirplane.SetActive(false);
        winImage.SetActive(false);
        LooseImage.SetActive(false);
        GM.levelBoss = false;
    }