playMaker

Author Topic: UGUI set Pressed Button Action?  (Read 1195 times)

Nikmady

  • Playmaker Newbie
  • *
  • Posts: 15
UGUI set Pressed Button Action?
« on: November 06, 2018, 08:27:02 PM »
Hello. Help please to solve little problem.
Unity 5.6
I've made UI, but in my VR project i need to use "World Space" Canvas.
Interaction between Vr Oculus Controllers and UI(scrollview/buttons) planed by using RayCast and Simple Trigger system.
But I don't understand how to Set Pressed Button Action on Scroll? There are only "On Click" option. I have Action "Oculus Get key down", I have this "bool" value.
But where in uGUI/proxy Set Pressed Button Action( action"get key down" -->> "Mouse 0" scrollview doesnt see)? Maybe there is some trick in Inputs what I don’t know? =(

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: UGUI set Pressed Button Action?
« Reply #1 on: November 15, 2018, 12:31:00 AM »
Hi,

 uhm, I don't know myself, have you looked on Unity forum and the asset store, maybe there are ready made UI systems for VR?

like this :https://assetstore.unity.com/packages/tools/gui/vr-uikit-128236

If you find an article explaining it, I'd be ok to look how it can be made in PlayMaker.

Bye,

 Jean