Hi!
I've made a custom Action to enable/disable Force Aspect Ratio using the AC.KickStarter.settingsManager.forceAspectRatio
code and it used to work fine.
After I updated Adventure Creator to the latest version (1.74) I got the following error and I'm force to delete the action to compile:
Assets/AdventureCreator/Scripts/Actions/ActionForceAspectRatio.cs(31,48): error CS0122: 'SettingsManager.forceAspectRatio' is inaccessible due to its protection level
Any hint on how to fix it? Thanks!
Using Unity 2020.3.17f1
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
See the "Upgrade notes" section for v1.73.4. This option has been deprecated in favour of the aspectRatioEnforcement enum, which allows for more options.
To enable/disable aspect-ratio enforcement:
Thanks Chris, works like a charm now.