Files
Nerfed/Nerfed.Runtime/Scene/SceneRelationAttribute.cs
T
max fec2cd8d24 testing building some core systems
- serialization
- chunks
- parralelfor test
2026-04-24 19:21:03 +02:00

11 lines
511 B
C#

namespace Nerfed.Runtime.Scene;
/// <summary>
/// Marks an unmanaged struct as a serializable scene relation kind.
/// Both endpoints and the data payload will be saved/loaded by the scene system.
/// The <see cref="Components.ChildParentRelation"/> hierarchy is handled separately via
/// <see cref="SceneEntityData.ParentId"/> and should NOT be marked with this attribute.
/// </summary>
[AttributeUsage(AttributeTargets.Struct, Inherited = false)]
public sealed class SceneRelationAttribute : Attribute { }