Author Topic: How to Manually Select a gameObject?  (Read 2818 times)

lemming

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
How to Manually Select a gameObject?
« on: May 02, 2014, 01:03:17 PM »
Hy guys and Aren, sorry for first post\question, i had an account but lost password and mail to recover it :D
I'm still learning, but is still hard as fruck for me.. I tried to understand uikeynavigation and uicamera to see how the select\onselect functions works.. but no luck by far... i just need a ultra basic script (i suppose) that say "if you press this button, select this object"
Can anyone help me? thanks so much....  :) :) :)

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: How to Manually Select a gameObject?
« Reply #1 on: May 04, 2014, 10:27:58 AM »
You're using the wrong script for that. UIKeyBinding is what's capable of listening for specific keys.