mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2026-04-21 17:35:56 +08:00
fix
This commit is contained in:
parent
48014f3b73
commit
bc5278c021
@ -11,7 +11,7 @@ namespace DCFApixels.DragonECS.Core
|
||||
void Init(ref T component, EcsWorld world);
|
||||
void OnDestroy(ref T component, EcsWorld world);
|
||||
}
|
||||
public static class EcsWorldComponent<T> where T : struct
|
||||
public static class EcsWorldComponent<T>
|
||||
{
|
||||
public static readonly IEcsWorldComponent<T> CustomHandler;
|
||||
public static readonly bool IsCustom;
|
||||
|
||||
@ -148,7 +148,7 @@ namespace DCFApixels.DragonECS
|
||||
#region Constructors
|
||||
public RunHelper(EcsRunner<TProcess> runner) : this(runner,
|
||||
#if DEBUG
|
||||
typeof(TProcess).ToMeta().Name)
|
||||
typeof(TProcess).GetMeta().Name)
|
||||
#else
|
||||
string.Empty)
|
||||
#endif
|
||||
@ -298,7 +298,7 @@ namespace DCFApixels.DragonECS
|
||||
#region Constructors
|
||||
public RunHelperWithFinally(EcsRunner<TProcess> runner) : this(runner,
|
||||
#if DEBUG
|
||||
typeof(TProcess).ToMeta().Name)
|
||||
typeof(TProcess).GetMeta().Name)
|
||||
#else
|
||||
string.Empty)
|
||||
#endif
|
||||
|
||||
@ -37,7 +37,7 @@ namespace DCFApixels.DragonECS
|
||||
return;
|
||||
}
|
||||
}
|
||||
throw new InvalidOperationException($"Using component {componentType.ToMeta().TypeName} is not allowed in the {worldType.ToMeta().TypeName} world.");
|
||||
throw new InvalidOperationException($"Using component {componentType.GetMeta().TypeName} is not allowed in the {worldType.GetMeta().TypeName} world.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user