Esempio n. 1
0
    public void Music_on_off()
    {
        if (game_master.music_on[my_game_master.current_profile_selected])
        {
            my_game_master.Music_on_off(false);
        }
        else
        {
            my_game_master.Music_on_off(true);
        }

        Update_sound_icons();
        my_game_master.Gui_sfx(my_game_master.tap_sfx);
    }
Esempio n. 2
0
    public void Start_me()
    {
        if (game_master.game_master_obj)
        {
            my_game_master = (game_master)game_master.game_master_obj.GetComponent("game_master");

            //music
            my_game_master.Music_on_off(game_master.music_on[my_game_master.current_profile_selected]);

            //sfx
            my_game_master.Sfx_on_off(game_master.sfx_on[my_game_master.current_profile_selected]);

            //voice
            my_game_master.Voice_on_off(game_master.voice_on[my_game_master.current_profile_selected]);

            Update_sound_icons();
        }
    }
	public void Start_me()
	{

		if (game_master.game_master_obj)
		{
			my_game_master = (game_master)game_master.game_master_obj.GetComponent("game_master");

			//music
			my_game_master.Music_on_off(game_master.music_on[my_game_master.current_profile_selected]);

			//sfx
			my_game_master.Sfx_on_off(game_master.sfx_on[my_game_master.current_profile_selected]);

			//voice
			my_game_master.Voice_on_off(game_master.voice_on[my_game_master.current_profile_selected]);

			Update_sound_icons();


		}
	}