Skip to content

Commit

Permalink
fix: Fix namespace using errors
Browse files Browse the repository at this point in the history
  • Loading branch information
SolarianZ committed Oct 25, 2024
1 parent 761abbe commit bfce289
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Editor/EditorUserSettingsProjectStorage.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
namespace GBG.EditorUserSettings.Editor
using UnityEditor;

namespace GBG.EditorUserSettings.Editor
{
[FilePath(RelativePath, FilePathAttribute.Location.ProjectFolder)]
internal class EditorUserSettingsProjectStorage : EditorUserSettingsStorage<EditorUserSettingsProjectStorage>
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,5 @@ static class CustomEditorUserSettings
## 已知问题<br/>Known Issues

1. 读写跨项目配置数据时,没有添加文件锁机制,同时读写时,可能会导致数据丢失。<br/>When reading and writing data across projects, there is no file lock mechanism added, and data may be lost when reading and writing at the same time.
2. 读写跨项目配置数据时,低版本Unity可能无法读取某些高版本Unity存储的数据。<br/> When reading and writing data across projects, lower versions of Unity may not be able to read some data stored by higher versions of Unity.
2. 读写跨项目配置数据时,低版本Unity可能无法读取某些高版本Unity存储的数据。<br/> When reading and writing data across projects, lower versions of Unity may not be able to read some data stored by higher versions of Unity.
3. 不能存储继承自 `UnityEngine.Object` 的数据(若需要,可以存储guid、路径或 `GlobalObjectId` )。<br/>Cannot store data inherited from `UnityEngine.Object` (if needed, you can store guid, path or `GlobalObjectId` )。
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.greenbamboogames.editorusersettings",
"version": "1.0.1",
"version": "1.0.2",
"displayName": "Editor User Settings!",
"description": "Store user settings in Unity Editor.",
"unity": "2019.4",
Expand Down

0 comments on commit bfce289

Please sign in to comment.