mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-18 01:44:35 +08:00
refactor group
This commit is contained in:
parent
089eff6674
commit
644dac75cd
@ -152,32 +152,32 @@ namespace DCFApixels.DragonECS
|
|||||||
public int WorldID
|
public int WorldID
|
||||||
{
|
{
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
get => _source.id;
|
get { return _source.id; }
|
||||||
}
|
}
|
||||||
public EcsWorld World
|
public EcsWorld World
|
||||||
{
|
{
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
get => _source;
|
get { return _source; }
|
||||||
}
|
}
|
||||||
public int Count
|
public int Count
|
||||||
{
|
{
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
get => _count;
|
get { return _count; }
|
||||||
}
|
}
|
||||||
public int CapacityDense
|
public int CapacityDense
|
||||||
{
|
{
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
get => _dense.Length;
|
get { return _dense.Length; }
|
||||||
}
|
}
|
||||||
public EcsReadonlyGroup Readonly
|
public EcsReadonlyGroup Readonly
|
||||||
{
|
{
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
get => new EcsReadonlyGroup(this);
|
get { return new EcsReadonlyGroup(this); }
|
||||||
}
|
}
|
||||||
public bool IsReleased
|
public bool IsReleased
|
||||||
{
|
{
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
get => _isReleased;
|
get { return _isReleased; }
|
||||||
}
|
}
|
||||||
public int this[int index]
|
public int this[int index]
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user