GameData.cs 1.2 KB

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