Page 1 of 1

Disable Transform on Child Objects

PostPosted: Wed Jan 24, 2018 9:20 pm
by djhuds2k
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?

Re: Disable Transform on Child Objects

PostPosted: Wed Jan 31, 2018 6:18 pm
by ireth86
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.