Unity Engine documentationScript ReferenceUnityEditorSessionStateSetFloat(string, float)Store a Float value.阅读时间1 分钟最后更新于 1 个月前Definition Type: Method Namespace: UnityEditor Assembly: UnityEditor public static void SetFloat(string key, float value) Parameters keystringvaluefloat