/// /// Player stands still, the mesh is painted with the left mouse button. The /// camera orbits only while the right mouse button is held. /// public class PaintMode : GameMode { public override string DisplayName => "Paint"; public override void Enter() { if (Manager.Player) Manager.Player.ControlEnabled = false; if (Manager.CameraInput) Manager.CameraInput.LookMode = ThirdPersonOrbitInput.OrbitLookMode.HoldRightMouseButton; if (Manager.Painter) Manager.Painter.PaintingEnabled = true; } }