2D Toolkit Forum

2D Toolkit => Support => Topic started by: BitDemon on August 22, 2013, 09:09:27 pm

Title: Programmatically resize UIMask
Post by: BitDemon on August 22, 2013, 09:09:27 pm
How would I programmatically resize a UIMask? I have tried changing its size variable but this happens:

(http://i.imgur.com/SBYiSTW.png)
Title: Re: Programmatically resize UIMask
Post by: unikronsoftware on August 22, 2013, 10:12:56 pm
You can call Build to rebuild the mesh after its been changed.
This isn't "officially" supported so it can and probably change in future versions...
Title: Re: Programmatically resize UIMask
Post by: BitDemon on August 22, 2013, 10:31:56 pm
Thanks, got it working.