Menu: stylus sticks out of the hand front and matches the touch point; haptic ticks for hover, release, sliders, scrolling
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2f2fcd0aa2
commit
d0b50fbc41
6 files changed
+95
-6
No files matched your search
@@ -48,6 +48,8 @@ public partial class WorldPanel : Node3D
|
||||
_menu = new MainMenu { Name = "MainMenu" };
|
||||
_screen.SetContent(_menu);
|
||||
_screen.PointerPressed += OnPointerPressed;
|
||||
_screen.Haptic += (hand, amplitude, seconds) =>
|
||||
(hand == 0 ? _left : _right).TriggerHapticPulse("haptic", 0.0, amplitude, seconds, 0.0);
|
||||
|
||||
_menu.ReturnToSpawnRequested += () =>
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user