Disable Transform on Child Objects

Ask for help and post bugs.

Disable Transform on Child Objects

Postby djhuds2k » Wed Jan 24, 2018 9:20 pm

I have a UGUI Canvas setup in World space. It has an image with transform gesture and transformer which is working fine. However, this image has multiple child objects with images and these can also be dragged even though there is no transform gesture on them. Basically I want the parent image to be draggable with child images moving with it, but I don't want the child objects to be draggable as well (which moves the parent object). Is this possible? Is there a way to make sure only the parent object can be dragged?
Posts: 1
Joined: Wed Jan 24, 2018 9:14 pm

Re: Disable Transform on Child Objects

Postby ireth86 » Wed Jan 31, 2018 6:18 pm

Hi, did you check this example? https://github.com/TouchScript/TouchScr ... s#checkers
I didn't try it, but maybe the delegate could be useful.
Posts: 16
Joined: Wed Sep 28, 2016 5:55 pm

Return to Help and Bugs

Who is online

Users browsing this forum: No registered users and 2 guests