1234567891011121314151617181920212223 |
- /* 存放游戏运行中一些保存的数据
- */
- using System;
- public static class GameData
- {
- #region 游戏运行数据
- public static int focusDog = 0; // 游戏中目前玩家主要玩的狗,便于UserProperty.dogs[focusDog]和dogsInScene[focusDog]的使用
- public static int homeCamFocusDog = 100; // Home场景下,摄像机聚焦的狗。100表示不聚焦任何的狗
- public static bool isVoiceTrainingToday; // 是否今天已经进行过语音训练
- // public static bool isFirstInteraction = true; // 是否第一次互动
- public static DateTime lastFeedbackTime = new DateTime(2000, 1, 1); // 上次反馈的时间
- public static float noteStartLeadTime = 4f; // 音符提前创建的时间
- #endregion
- #region 临时保存数据
- public static string subScene; // 用于指定子场景用
- public static string playedToy = string.Empty; // 用于暂存游戏中使用的玩具
- public static string bathItemId = string.Empty; // 用于暂存洗澡场景中使用的道具
- public static bool hasRemindedRegister = false; // 用于暂存是否已经提醒用户注册
- #endregion
- }
|