Example #1
0
    void Button_Ranking(MenuObject_Button button)
    {
        Debug.Log("StartScreen >>> Button_Ranking()");

        SetRankingData();
        RankingUI_BG.SetActive(true);
    }
Example #2
0
 void Button_Option(MenuObject_Button button)
 {
     zFoxFadeFilter.instance.FadeOut (Color.black, 0.5f);
     AppSound.instance.SE_MENU_OK.Play ();
     jumpSceneName = "Menu_Option";
     Invoke ("SceneJump",1.2f);
 }
Example #3
0
    void Button_VRPad(MenuObject_Button button)
    {
        SaveData.VRPadEnabled = SaveData.VRPadEnabled ? false : true;

        button.SetLabelText((SaveData.VRPadEnabled ? "On" : "Off"));
        AppSound.instance.SE_MENU_OK.Play();
    }
Example #4
0
 void Button_DebugJump(MenuObject_Button button)
 {
     SaveData.continuePlay = false;
     PlayerController.checkPointEnabled = false;
     SceneManager.LoadScene(button.transform.GetComponentInChildren <TextMesh>().text);
     AppSound.instance.SE_MENU_OK.Play();
 }
Example #5
0
    void Button_Prev(MenuObject_Button button)
    {
        zFoxFadeFilter.instance.FadeOut(Color.black, 0.5f);
        Invoke("SceneJump", 0.7f);

        AppSound.instance.SE_MENU_CANCEL.Play();
    }
Example #6
0
 void Button_Option(MenuObject_Button button)
 {
     zFoxFadeFilter.instance.FadeOut(Color.black, 0.5f);
     AppSound.instance.SE_MENU_OK.Play();
     jumpSceneName = "Menu_Option";
     Invoke("SceneJump", 1.2f);
 }
Example #7
0
	void Button_Continue(MenuObject_Button button) {
		SaveData.continuePlay 				= true;
		PlayerController.initParam 			= false;

		zFoxFadeFilter.instance.FadeOut (Color.white, 1.0f);
		AppSound.instance.SE_MENU_OK.Play ();
		jumpSceneName = SaveData.LoadContinueSceneName();
		Invoke ("SceneJump",1.2f);
	}
Example #8
0
    void Button_Continue(MenuObject_Button button)
    {
        SaveData.continuePlay      = true;
        PlayerController.initParam = false;

        zFoxFadeFilter.instance.FadeOut(Color.white, 1.0f);
        jumpSceneName = SaveData.LoadContinueSceneName();
        Invoke("SceneJump", 1.2f);
    }
Example #9
0
	void Button_Play(MenuObject_Button button) {
		SaveData.continuePlay 				= false;
		PlayerController.initParam 			= true;
		PlayerController.checkPointEnabled 	= false;

		zFoxFadeFilter.instance.FadeOut (Color.white, 1.0f);
		AppSound.instance.SE_MENU_OK.Play ();
		jumpSceneName = "StageA";
		Invoke ("SceneJump",1.2f);
	}
Example #10
0
    void Button_Play(MenuObject_Button button)
    {
        SaveData.continuePlay              = false;
        PlayerController.initParam         = true;
        PlayerController.checkPointEnabled = false;

        zFoxFadeFilter.instance.FadeOut(Color.white, 1.0f);
        AppSound.instance.SE_MENU_OK.Play();
        jumpSceneName = "StageA";
        Invoke("SceneJump", 1.2f);
    }
Example #11
0
    void Button_Play(MenuObject_Button button)
    {
        Debug.Log("StartScreen >>> Button_Play()");

        if (isOptionUIOpen)
        {
            return;
        }

        BGM.Stop();
        zFoxFadeFilter.instance.FadeOut(Color.white, 1.0f);
        jumpSceneName = "GameStage";
        Invoke("SceneJump", 1.2f);
    }
Example #12
0
	void Button_SaveDataReset_Yes(MenuObject_Button button) {
		GameObject.Find ("MenuFormA").transform.position = new Vector3 (0.0f, 0.0f, 0.0f);
		GameObject.Find ("MenuFormB").transform.position = new Vector3 (100.0f, 0.0f, 0.0f);

		SaveData.DeleteAndInit (true);

		AppSound.instance.fm.SetVolume("BGM",SaveData.SoundBGMVolume);
		AppSound.instance.fm.SetVolume("SE",SaveData.SoundSEVolume);

		MenuObject_Slidebar[] slidebarList = GameObject.Find ("MenuFormA").GetComponentsInChildren<MenuObject_Slidebar> ();
		foreach(MenuObject_Slidebar slidebar in slidebarList) {
			slidebar.Init();
		}
		AppSound.instance.SE_MENU_OK.Play ();
	}
Example #13
0
    void Button_Option(MenuObject_Button button)
    {
        Debug.Log("StartScreen >>> Button_Option()");

        if (isOptionUIOpen)
        {
            return;
        }

        //옵션화면 활성화
        isOptionUIOpen = true;
        Time.timeScale = 0;
        OptionUI_BG.SetActive(true);
        SaveData.LoadOption();
        SetOptionData();
    }
Example #14
0
    void Button_SaveDataReset_Yes(MenuObject_Button button)
    {
        GameObject.Find("MenuFormA").transform.position = new Vector3(0.0f, 0.0f, 0.0f);
        GameObject.Find("MenuFormB").transform.position = new Vector3(100.0f, 0.0f, 0.0f);

        SaveData.DeleteAndInit(true);

        AppSound.instance.fm.SetVolume("BGM", SaveData.SoundBGMVolume);
        AppSound.instance.fm.SetVolume("SE", SaveData.SoundSEVolume);

        MenuObject_Slidebar[] slidebarList = GameObject.Find("MenuFormA").GetComponentsInChildren <MenuObject_Slidebar> ();
        foreach (MenuObject_Slidebar slidebar in slidebarList)
        {
            slidebar.Init();
        }
        AppSound.instance.SE_MENU_OK.Play();
    }
Example #15
0
 void Button_Debug(MenuObject_Button button)
 {
     Application.LoadLevel("Menu_Debug");
 }
Example #16
0
 void Button_SaveDataReset_No(MenuObject_Button button)
 {
     GameObject.Find("MenuFormA").transform.position = new Vector3(0.0f, 0.0f, 0.0f);
     GameObject.Find("MenuFormB").transform.position = new Vector3(100.0f, 0.0f, 0.0f);
     AppSound.instance.SE_MENU_CANCEL.Play();
 }
Example #17
0
	void Button_DebugJump(MenuObject_Button button) {
		SaveData.continuePlay = false;
		PlayerController.checkPointEnabled = false;
		Application.LoadLevel(button.transform.GetComponentInChildren<TextMesh>().text);
		AppSound.instance.SE_MENU_OK.Play ();
	}
Example #18
0
 void Start()
 {
     zFoxFadeFilter.instance.FadeIn(Color.black, 0.5f);
     SaveData.LoadOption();
     MenuObject_Button.FindMessage(GameObject.Find("MenuFormA"), "Button_VRPad").SetLabelText((SaveData.VRPadEnabled ? "On" : "Off"));
 }
Example #19
0
	void Button_Muteki(MenuObject_Button button) {
		SaveData.debug_Invicible = (SaveData.debug_Invicible) ? false : true;
		button.SetLabelText ((SaveData.debug_Invicible) ? "Muteki(On)" : "Muteki(Off)");
	}
Example #20
0
	void Button_Debug(MenuObject_Button button) {
		Application.LoadLevel("Menu_Debug");
	}
Example #21
0
	void Button_SaveDataReset_No(MenuObject_Button button) {
		GameObject.Find ("MenuFormA").transform.position = new Vector3 (0.0f, 0.0f, 0.0f);
		GameObject.Find ("MenuFormB").transform.position = new Vector3 (100.0f, 0.0f, 0.0f);
		AppSound.instance.SE_MENU_CANCEL.Play ();
	}
Example #22
0
	void Button_VRPad(MenuObject_Button button) {
		SaveData.VRPadEnabled = SaveData.VRPadEnabled ? false : true;
		button.SetLabelText ((SaveData.VRPadEnabled ? "On" : "Off"));
		AppSound.instance.SE_MENU_OK.Play ();
	}
Example #23
0
 void Button_Credit(MenuObject_Button button)
 {
     Debug.Log("StartScreen >>> Button_Credit()");
     SetOptionData();
     CreditUI_BG.SetActive(true);
 }
Example #24
0
 void Button_Muteki(MenuObject_Button button)
 {
     SaveData.debug_Invicible = (SaveData.debug_Invicible) ? false : true;
     button.SetLabelText((SaveData.debug_Invicible) ? "Muteki(On)" : "Muteki(Off)");
 }
Example #25
0
	void Button_Prev(MenuObject_Button button) {
		zFoxFadeFilter.instance.FadeOut (Color.black, 0.5f);
		Invoke ("SceneJump",0.7f);
		AppSound.instance.SE_MENU_CANCEL.Play ();
	}
Example #26
0
 void Button_Debug(MenuObject_Button button)
 {
     SceneManager.LoadScene("Menu_Debug");
 }