mirror of
https://github.com/DCFApixels/DragonECS-Unity.git
synced 2025-09-18 01:54:35 +08:00
fix
This commit is contained in:
parent
5ec9bbdd70
commit
22302ab443
@ -5,7 +5,9 @@ using UnityEngine;
|
||||
|
||||
namespace DCFApixels.DragonECS
|
||||
{
|
||||
#if UNITY_EDITOR
|
||||
[InitializeOnLoad]
|
||||
#endif
|
||||
public class UnityDebugService : DebugService
|
||||
{
|
||||
private ProfilerMarker[] _profilerMarkers = new ProfilerMarker[64];
|
||||
|
@ -1,5 +1,4 @@
|
||||
#if UNITY_EDITOR
|
||||
using DCFApixels.DragonECS.Unity.Internal;
|
||||
using DCFApixels.DragonECS.Unity.Internal;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
@ -9,16 +8,8 @@ using UnityEngine;
|
||||
|
||||
namespace DCFApixels.DragonECS.Unity.Editors
|
||||
{
|
||||
[InitializeOnLoad]
|
||||
internal static class UnityEditorUtility
|
||||
internal static partial class UnityEditorUtility
|
||||
{
|
||||
static UnityEditorUtility()
|
||||
{
|
||||
colorBoxeStyles = new SparseArray<GUIStyle>();
|
||||
}
|
||||
private static SparseArray<GUIStyle> colorBoxeStyles = new SparseArray<GUIStyle>();
|
||||
private static GUIContent _singletonContent = null;
|
||||
|
||||
#region TransformFieldName
|
||||
public static string TransformToUpperName(string name)
|
||||
{
|
||||
@ -104,6 +95,24 @@ namespace DCFApixels.DragonECS.Unity.Editors
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#if UNITY_EDITOR
|
||||
namespace DCFApixels.DragonECS.Unity.Editors
|
||||
{
|
||||
[InitializeOnLoad]
|
||||
internal static partial class UnityEditorUtility
|
||||
{
|
||||
static UnityEditorUtility()
|
||||
{
|
||||
colorBoxeStyles = new SparseArray<GUIStyle>();
|
||||
}
|
||||
private static SparseArray<GUIStyle> colorBoxeStyles = new SparseArray<GUIStyle>();
|
||||
private static GUIContent _singletonContent = null;
|
||||
|
||||
|
||||
#region Label
|
||||
public static GUIContent GetLabelTemp()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user