- 简介
- 目录大纲
- 最新文档
- 文集下载
PlayerPrefs.SetString 设置字符串
JavaScript => public static function SetString(key: string, value: string): void; C# => public static void SetString(string key, string value); Description 描述 Sets the value of the preference id……
da - 2022年10月27日 21:43
PlayerPrefs.SetInt 设置整数
JavaScript => public static function SetInt(key: string, value: int): void; C# => public static void SetInt(string key, int value); Description 描述 Sets the value of the preference identified by ……
da - 2022年10月27日 21:43
PlayerPrefs.SetFloat 设置浮点数
JavaScript => public static function SetFloat(key: string, value: float): void; C# => public static void SetFloat(string key, float value); Description 描述 Sets the value of the preference identi……
da - 2022年10月27日 21:42
PlayerPrefs.Save 保存
JavaScript => public static function Save(): void; C# => public static void Save(); Description 描述 Writes all modified preferences to disk. 写入所有修改参数到硬盘。 By default Unity writes preferences to di……
da - 2022年10月27日 21:42
PlayerPrefs.HasKey 使用有键
JavaScript => public static function HasKey(key: string): bool; C# => public static bool HasKey(string key); Description 描述 Returns true if key exists in the preferences. 如果 key 在游戏存档中存在,返回 true……
da - 2022年10月27日 21:41