playMaker

Author Topic: NGUI Automated Button Press  (Read 2784 times)

Graham

  • Sr. Member
  • ****
  • Posts: 333
  • I Love Playmaker!
    • Portfolio
NGUI Automated Button Press
« on: May 15, 2014, 04:40:39 PM »
I am in need of an action that would basically simulate an NGUI button being pressed without any user input.

Does anyone know a simple way of doing this otherwise?
More templates on the Unity Asset Store!

Disclosure: We are using affiliate links to our assets; we may receive a commission for purchases made through them. This helps us to continue developing and maintaining great products!

Marsh

  • Full Member
  • ***
  • Posts: 227
  • Comfort the disturbed, disturb the comfortable
Re: NGUI Automated Button Press
« Reply #1 on: May 15, 2014, 04:56:50 PM »
Unity has a send message action I believe. Just send "OnClick" to the button.

Graham

  • Sr. Member
  • ****
  • Posts: 333
  • I Love Playmaker!
    • Portfolio
Re: NGUI Automated Button Press
« Reply #2 on: May 16, 2014, 07:52:16 AM »
Thanks Marsh, I will try this out later.

Edit: Works like a charm!
« Last Edit: May 16, 2014, 12:59:37 PM by Graham »
More templates on the Unity Asset Store!

Disclosure: We are using affiliate links to our assets; we may receive a commission for purchases made through them. This helps us to continue developing and maintaining great products!