PointingArrowComponent.cs 495 B

12345678910111213141516
  1. using Content.Shared.Pointing.Components;
  2. using System.Numerics;
  3. namespace Content.Client.Pointing.Components;
  4. [RegisterComponent]
  5. public sealed partial class PointingArrowComponent : SharedPointingArrowComponent
  6. {
  7. /// <summary>
  8. /// How far the arrow moves up and down during the floating phase.
  9. /// </summary>
  10. [ViewVariables(VVAccess.ReadWrite)]
  11. [DataField("offset")]
  12. public Vector2 Offset = new(0, 0.25f);
  13. public readonly string AnimationKey = "pointingarrow";
  14. }