From 8aa5f80c4be3e48e7cb95ea40a9ca51da242abae Mon Sep 17 00:00:00 2001 From: kimura Date: Wed, 27 Oct 2021 11:29:26 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=81=E3=83=A5=E3=83=BC=E3=83=88=E3=83=AA?= =?UTF-8?q?=E3=82=A2=E3=83=AB=E3=83=95=E3=83=A9=E3=82=B0=E8=A8=AD=E5=AE=9A?= =?UTF-8?q?=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- popcorn/Assets/MyGame/Scripts/GameDataManager.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/popcorn/Assets/MyGame/Scripts/GameDataManager.cs b/popcorn/Assets/MyGame/Scripts/GameDataManager.cs index 213ccb43..a9246e42 100644 --- a/popcorn/Assets/MyGame/Scripts/GameDataManager.cs +++ b/popcorn/Assets/MyGame/Scripts/GameDataManager.cs @@ -130,7 +130,7 @@ public sealed class GameData { // tutorial [DataMember(Name = "Data38")] - public bool isFirstPlay; + public bool isFirstPlay = true; // mission [DataMember(Name = "Data1001")] @@ -269,6 +269,14 @@ public sealed class GameData { .Subtract(DateTime.UtcNow.ToLocalTime()); } + public void FinishTutorial() + { + isFirstPlay = false; + fertilizerTime = DateTime.UtcNow.ToBinary(); + increaseCustomerTime = DateTime.UtcNow.ToBinary(); + kitchenRefreshTime = DateTime.UtcNow.ToBinary(); + } + // public void ChangeAvatar(AvatarData avatarData){ // newAvatarIdList.Remove(avatarData.id); // }