mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-18 09:54:35 +08:00
renaming to SortOrder
This commit is contained in:
parent
1b4cf66a9e
commit
317c5d1135
@ -18,7 +18,7 @@ namespace DCFApixels.DragonECS
|
||||
private int _systemRecordsCount = 0;
|
||||
private int _systemRecordsInrement = 0;
|
||||
|
||||
private Dictionary<string, LayerSystemsList> _layerLists = new Dictionary<string, LayerSystemsList>();
|
||||
private Dictionary<string, LayerSystemsList> _layerLists = new Dictionary<string, LayerSystemsList>(KEYS_CAPACITY);
|
||||
|
||||
private readonly List<InitDeclaredRunner> _initDeclaredRunners = new List<InitDeclaredRunner>(4);
|
||||
|
||||
@ -75,7 +75,7 @@ namespace DCFApixels.DragonECS
|
||||
}
|
||||
else
|
||||
{
|
||||
sortOrder = system is IEcsSystemDefaultSortingOrder defaultSortingOrder ? defaultSortingOrder.SortingOrder : 0;
|
||||
sortOrder = system is IEcsSystemDefaultSortOrder defaultSortOrder ? defaultSortOrder.SortOrder : 0;
|
||||
}
|
||||
if (string.IsNullOrEmpty(layerName))
|
||||
{
|
||||
|
@ -26,9 +26,9 @@ namespace DCFApixels.DragonECS
|
||||
[MetaColor(MetaColor.DragonRose)]
|
||||
[MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.OTHER_GROUP)]
|
||||
[MetaDescription(EcsConsts.AUTHOR, "...")]
|
||||
public interface IEcsSystemDefaultSortingOrder : IEcsProcess
|
||||
public interface IEcsSystemDefaultSortOrder : IEcsProcess
|
||||
{
|
||||
int SortingOrder { get; }
|
||||
int SortOrder { get; }
|
||||
}
|
||||
[MetaColor(MetaColor.DragonRose)]
|
||||
[MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.OTHER_GROUP)]
|
||||
|
Loading…
Reference in New Issue
Block a user