using Robust.Shared.Serialization.Manager.Attributes; using Robust.Shared.ViewVariables; namespace Robust.Shared.GameObjects { /// /// A component that toggles collision on an entity being toggled. /// [RegisterComponent] public sealed class CollideOnAnchorComponent : Component { /// /// Whether we toggle collision on or off when anchoring (and vice versa when unanchoring). /// [ViewVariables(VVAccess.ReadWrite)] [DataField("enable")] public bool Enable { get; set; } = false; } }