mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-01-22 05:09:37 -05:00
* UISystem ticks over WorldPanel and WorldInput components * Obsolete WorldInput class (it does nothing now) * Add basic VR support by default to WorldInput component * Remove VRWorldInput from menu * Remove dead VROverlayInput --------- Co-authored-by: Matt Stevens <matt@mattstevens.co.uk>
15 lines
422 B
C#
15 lines
422 B
C#
namespace Sandbox.UI;
|
|
|
|
[Obsolete( "Use the WorldInput component, this class does nothing." )]
|
|
public class WorldInput
|
|
{
|
|
public bool Enabled { get; set; }
|
|
public Ray Ray { get; set; }
|
|
public bool MouseLeftPressed { get; set; }
|
|
public bool MouseRightPressed { get; set; }
|
|
public Vector2 MouseWheel { get; set; }
|
|
public bool UseMouseInput { get; set; }
|
|
public Panel Hovered => null;
|
|
public Panel Active => null;
|
|
}
|