mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-11-15 10:35:55 +08:00
18 lines
411 B
C#
18 lines
411 B
C#
|
|
using System.Runtime.CompilerServices;
|
|||
|
|
|
|||
|
|
namespace DCFApixels.DragonECS
|
|||
|
|
{
|
|||
|
|
public struct Parent : IEcsAttachComponent
|
|||
|
|
{
|
|||
|
|
public EcsEntity entity;
|
|||
|
|
|
|||
|
|
public EcsEntity Target
|
|||
|
|
{
|
|||
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|||
|
|
get => entity;
|
|||
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|||
|
|
set => entity = value;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|