Hello Guest

Author Topic: Use Force Resolution always, not only if Editor's Game Window is Free Aspect  (Read 3951 times)

drkucho

  • 2D Toolkit
  • Jr. Member
  • *
  • Posts: 72
  • Retro Arcade Freak
    • View Profile
    • Dr. Kucho!
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 !

drkucho

  • 2D Toolkit
  • Jr. Member
  • *
  • Posts: 72
  • Retro Arcade Freak
    • View Profile
    • Dr. Kucho!
Hope you didn't skip this one Unikron  ;D

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
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.

drkucho

  • 2D Toolkit
  • Jr. Member
  • *
  • Posts: 72
  • Retro Arcade Freak
    • View Profile
    • Dr. Kucho!
ok thanks anyway