private void Load()
        {
            this._startTime = EditorPrefs.GetInt(this._editorPrefKey + "._startTime");
            string key = this._editorPrefKey + "._compileTimeHistory";

            if (EditorPrefs.HasKey(key))
            {
                this._compileTimeHistory = CompileTimeKeyframe.DeserializeList(EditorPrefs.GetString(key));
            }
            else
            {
                this._compileTimeHistory = new List <CompileTimeKeyframe>();
            }
        }
Esempio n. 2
0
 private void Load()
 {
     this._startTime          = EditorPrefs.GetInt(this._editorPrefKey + "._startTime");
     this._compileTimeHistory = CompileTimeKeyframe.DeserializeList(EditorPrefs.GetString(this._editorPrefKey + "._compileTimeHistory"));
 }