playMaker

Author Topic: Ragespline for GUI?  (Read 1802 times)

DevBoyLars

  • Playmaker Newbie
  • *
  • Posts: 27
    • View Profile
Ragespline for GUI?
« on: June 29, 2012, 02:33:19 AM »
Hi there,
is it possible to combine Ragespline-objects with PlayMaker GUI?

DevBoyLars

  • Playmaker Newbie
  • *
  • Posts: 27
    • View Profile
Re: Ragespline for GUI?
« Reply #1 on: July 01, 2012, 05:08:37 AM »
No one could help? o_O

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3631
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: Ragespline for GUI?
« Reply #2 on: July 01, 2012, 09:32:15 AM »
Ragespline work great with PlayMaker, but I'm not sure what you mean by "combine with PlayMaker GUI"?

Unity has a few different approaches to UI.

Actions in the GUI and GUI Layout categories use OnGUI, a separate 2D GUI system that draws on top of the 3d view.

GUI Element actions expose the older GUI Text and GUI Texture systems, fine for simple texture based GUIs.

Then you can turn any game object into a simple UI element using collision boxes and mouse events (e.g. MOUSE DOWN). I think this is the approach you'd need to take with Ragespline.

Someone with more experience with Ragespline might have more tips...

DevBoyLars

  • Playmaker Newbie
  • *
  • Posts: 27
    • View Profile
Re: Ragespline for GUI?
« Reply #3 on: July 01, 2012, 12:08:43 PM »
Thx for you answer. What I meant is what you can see in this video: at 0:15 where the moderator adds a PlayMakerGUI element.

Inside this element, I can add something like on 0:58 'GUI Horizontal Slider'.

So does it mean, that PlayMaker Actions 'just' uses the Uinty3D-intern OnGUI or GUI-Text methods, if I'm using GUI-Actions from the Action-Manager?

And I can draw my RageSpline, use RageTools Pro on the RageSpline, add a collision box and a touch event and there's my own RS-GUI?