public override void Update(Vector2 mouse, RadialCursor cursor)
 {
     if (cursor.GetRadial(mouse, out var radial))
     {
         TrySetValue(Get, radial);
     }
 }
Пример #2
0
        public override void Update(Vector2 mouse, RadialCursor cursor)
        {
            if (!cursor.Get2Axis(mouse, 60, out var axis))
            {
                return;
            }

            Control.SetSubValue(0, axis.x);
            Control.SetSubValue(1, axis.y);
        }
Пример #3
0
 public abstract void Update(Vector2 mouse, RadialCursor cursor);