mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
Update ResourceComponent.cs
This commit is contained in:
@@ -16,7 +16,8 @@ namespace TEngine.Runtime
|
|||||||
#if UNITY_EDITOR
|
#if UNITY_EDITOR
|
||||||
[SerializeField] public bool EditorResourceMode = true;
|
[SerializeField] public bool EditorResourceMode = true;
|
||||||
#else
|
#else
|
||||||
public bool EditorResourceMode = false;
|
private bool _editorResourceMode = false;
|
||||||
|
public bool EditorResourceMode => _editorResourceMode;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user