playMaker

Author Topic: setting up GUI textures as buttons  (Read 1594 times)

nepomuk

  • Playmaker Newbie
  • *
  • Posts: 32
setting up GUI textures as buttons
« on: May 22, 2015, 06:16:50 AM »
hey, i've got an issue with custom UI buttons.

i've created simple button graphics with a fixed resolution which should have the following function:
-when i klick the button or touch it on iphone it should change to the graphic of the pressed button.
-if i release my finger an event is called
-if i move my finger on phone from the position of the button (which equals not releasing it) it should change back to the normal button graphic.

actually i've tried it with adding a gui button to the texture but this doesn't work for my function.

whats the best way to set up buttons like this?

thanks :)

nepomuk

  • Playmaker Newbie
  • *
  • Posts: 32
Re: setting up GUI textures as buttons
« Reply #1 on: May 29, 2015, 04:54:06 PM »
anyone?