Mac OS 在Mac OS X上PlayerPrefs是存储在~/Library/Preferences文件夹,名为unity.[company name].[product name].plist,其中company name和product name名是在Project Setting中设置,.plist文件可用于编辑器和桌面平台运行. (打开Find,按住Option键,点击“前往 →“资源库”,就可以找到Preferences文件夹.) Windows 在Windows平台下,Play
unity文件保存读取PlayerPrefs.SetInt And PlayerPrefs.GetInt using UnityEngine; using System.Collections; using UnityEngine.UI; using UnityEngine.SceneManagement; using Enums; //定义类管理时间静态变量 public class global_Mgr { //定义初始时间 public static int GoodTime01 =