Author Topic: stickypress question  (Read 2274 times)

jleung

  • Guest
stickypress question
« on: January 09, 2013, 09:28:43 PM »
I am trying to use the stickypress flag on the UICamera.  I have buttons on one layer which I want to behave like normal (with stickypress flag checked), and another set of buttons on a separate layer with stickypress unchecked behavior.  For each of these layers, I have a UICamera with that layer set as the EventReceiver mask.  When I have one camera with stickypress set to true, and the other with stickypress set to false, I get stickypress off behavior for all the buttons.  Is there another way I can set this up to get the behavior I am looking for?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: stickypress question
« Reply #1 on: January 10, 2013, 01:45:59 PM »
Pretty much by writing custom code. Keep track of what's underneath the touch (UICamera.hoveredObject) and react accordingly.