コード例 #1
0
ファイル: GameMain.cs プロジェクト: oouraissa/Team22_game
 public void Opning()
 {
     days++;
     eventManager.EventOpning();
     //MoneyTairyokuCalcu();
     dialy.FamilyEventText();
     //MoneyTairyokuCalcu();
     fade.FadeOpnig();
     moneyText.text = "所持金:\n" + moneys + "円";
     dayText.text   = days + "日目";
     Debug.Log(moneys + "と" + tairyoku);
     foodManager.MoneyandTairyokuReset();
     buttonScript.PositionReset();
     Debug.Log($"'Days' has increased: {days} days");
     Debug.Log("Loaded method Opening");
     //buttonScript.PositionReset();
     if (days <= (100 - 7))
     {
         if ((days % 7) == 0)
         {
             pickingFlag  = true;
             miniGameLeft = 5;
         }
         else if ((days % 7) == 6)
         {
             pickingFlag = false;
         }
     }
     if (pickingFlag == true)
     {
         Debug.Log($"[Test] Bool: PickingFlag is {pickingFlag.ToString()}");
     }
     Debug.Log("Opning終了");
 }