Rename autoset service method

This commit is contained in:
Mikhail 2023-03-27 18:00:13 +08:00
parent 5f668bb516
commit 0ccedb80a1

View File

@ -6,10 +6,7 @@ namespace DCFApixels.DragonECS.Unity
{ {
public class UnityDebugService : DebugService public class UnityDebugService : DebugService
{ {
public static void Set() public static void Init() => Set<UnityDebugService>();
{
DebugService.Set<UnityDebugService>();
}
private ProfilerMarker[] _profilerMarkers = new ProfilerMarker[64]; private ProfilerMarker[] _profilerMarkers = new ProfilerMarker[64];