Ejemplo n.º 1
0
 private void Update()
 {
     Button_push_cheak1 = Quest_Normal.Button_Push_Normal();
     Button_push_cheak2 = Quest_Heard.Button_Push_Heard();
     Button_push_cheak3 = Quest_Endless.Button_Push_Endless();
     if (Ncover_f == true)
     {
         Ntime += Time.deltaTime;
         if (Ntime >= 2.0f)
         {
             Ncover_f = false;
             Ntime    = 0;
             NotClear_easy_Text.SetActive(false);
         }
     }
     if (Hcover_f == true)
     {
         Htime += Time.deltaTime;
         if (Htime >= 2.0f)
         {
             Hcover_f = false;
             Htime    = 0;
             NotClear_normal_Text.SetActive(false);
         }
     }
 }
Ejemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     vibration_time = 0;
     nextTime       = Time.time;
     //life = PlayerPrefs.GetInt("Heart", 3);
     skill = PlayerPrefs.GetInt("yukou_button_number", 0);
     if (skill != 4)
     {
         HeartObj4.SetActive(false);
         HeartObj5.SetActive(false);
         HeartObj6.SetActive(false);
     }
     life_reset = PlayerPrefs.GetInt("play_cnt", 0);
     if (life_reset == 0)//エンドレス初回の時
     {
         life_reset = Quest_Endless.Set_life_reset();
         Debug.Log("life_reset = " + life_reset);
         life_num = 3;
         PlayerPrefs.SetInt("Heart", life_num);
         PlayerPrefs.Save();
     }
     if (life_reset >= 1)//2回目以降の時
     {
         life_num = PlayerPrefs.GetInt("Heart", 3);
     }
     //PlayerPrefs.SetInt("life_reset", life_reset);
     //PlayerPrefs.Save();
     bless_ff = false;
 }
Ejemplo n.º 3
0
 private void Update()
 {
     Button_push_cheak1 = Quest_Easy.Button_Push_Easy();
     Button_push_cheak2 = Quest_Heard.Button_Push_Heard();
     Button_push_cheak3 = Quest_Endless.Button_Push_Endless();
 }
Ejemplo n.º 4
0
 private void Update()
 {
     Button_push_cheak1 = Quest_Easy.Button_Push_Easy();
     Button_push_cheak2 = Quest_Normal.Button_Push_Normal();
     Button_push_cheak3 = Quest_Endless.Button_Push_Endless();
 }