Unity Engine documentationScript ReferenceUnityEditorSessionStateSetInt(string, int)Store an Integer value.阅读时间1 分钟最后更新于 1 个月前Definition Type: Method Namespace: UnityEditor Assembly: UnityEditor.CoreModule public static void SetInt(string key, int value) Parameters keystringvalueint