2D Toolkit Forum

2D Toolkit => Support => Topic started by: drkucho on December 13, 2014, 01:35:59 am

Title: Use Force Resolution always, not only if Editor's Game Window is Free Aspect
Post by: drkucho on December 13, 2014, 01:35:59 am
is it posible? maybe with a little hack? i would welcome help on this, i have tried to hack  tk2dCamera.cs but i don't understand it very much ... :-(

thanks in advance !
Title: Re: Use Force Resolution always, not only if Editor's Game Window is Free Aspect
Post by: drkucho on December 16, 2014, 07:10:27 pm
Hope you didn't skip this one Unikron  ;D
Title: Re: Use Force Resolution always, not only if Editor's Game Window is Free Aspect
Post by: unikronsoftware on December 17, 2014, 09:14:25 am
Hi,

The function that gets this is Editor__GetGameViewSize
Unfortunately it uses reflection to get this data from Unity, which is different in Unity 4.3+ and prior versions... I can't remember what does what in there, but you can work it out by printing out the values in there (eg. gvSizeType, and viewModeStrings), you'll figure out which codepath is running and what is being returned there. Sorry I can't be of more help but I cant remember.
Title: Re: Use Force Resolution always, not only if Editor's Game Window is Free Aspect
Post by: drkucho on December 26, 2014, 10:51:17 pm
ok thanks anyway