I'd like to have a small button with a larger collision area.
So I've got a parent rectTransform (128w*128h) with eventTrigger. and a child Image (64*64) .
The event trigger only works when I actually click inside the image. doesn't work inside the rectTransform if it's outside the image.
If it was NGUI I would add a boxCollision to the parent and that would work. What's the equivalent in the new UI system.
Right now as a hack, I've added a Text component to the parent rectTransform with no...
New UI system (4.6) - trying to add an eventTrigger on an empty rectTransform
So I've got a parent rectTransform (128w*128h) with eventTrigger. and a child Image (64*64) .
The event trigger only works when I actually click inside the image. doesn't work inside the rectTransform if it's outside the image.
If it was NGUI I would add a boxCollision to the parent and that would work. What's the equivalent in the new UI system.
Right now as a hack, I've added a Text component to the parent rectTransform with no...
New UI system (4.6) - trying to add an eventTrigger on an empty rectTransform