1
Support / 2dtk + Vectrosity (UnityUI) - Scaling
« on: November 24, 2015, 04:59:07 pm »
Hi All,
I'm using 2dtk with a 2dtk camera that has an override set to 'closest multiple of two' which works great for retro 'pixely' type stuff. I'm also just starting to use the gold standard line drawing asset 'Vectrosity'. Line drawing takes place using a UnityUI canvas in Screen Space Overlay mode. Vectrosity only allows the Screen Space Overlay mode. I see I can use the Canvas Scaler component and emulate 'Fit Width' and 'Fit Height' to match up to the same overrides the 2dtk Camera has but what about 'closest multiple of two' so I can maintain the same scale for both game and UI in general? Any ideas? Please bear in mind I started to learn Unity a while ago but had to stop because life got in the way and I'm only recently getting going again so my understand might be wrong of how I'm approaching this!
Thanks all, really applicate any help I can get.
Regards
I'm using 2dtk with a 2dtk camera that has an override set to 'closest multiple of two' which works great for retro 'pixely' type stuff. I'm also just starting to use the gold standard line drawing asset 'Vectrosity'. Line drawing takes place using a UnityUI canvas in Screen Space Overlay mode. Vectrosity only allows the Screen Space Overlay mode. I see I can use the Canvas Scaler component and emulate 'Fit Width' and 'Fit Height' to match up to the same overrides the 2dtk Camera has but what about 'closest multiple of two' so I can maintain the same scale for both game and UI in general? Any ideas? Please bear in mind I started to learn Unity a while ago but had to stop because life got in the way and I'm only recently getting going again so my understand might be wrong of how I'm approaching this!
Thanks all, really applicate any help I can get.
Regards