Hi,
I'd like to set the top and bottom on a rectatransform belonging to a prefab I'm instantiating...
So..
I instantiate the object and set the rect i.e.
rectTransform.rect.set(top,left,width,height);
However the instantiated objects top is not the value I've set!
Any ideas?
I'd like to set the top and bottom on a rectatransform belonging to a prefab I'm instantiating...
So..
I instantiate the object and set the rect i.e.
rectTransform.rect.set(top,left,width,height);
However the instantiated objects top is not the value I've set!
Any ideas?