I have a Dropdown in my menu that I want to use to change what kind of Anti-aliasing algorithm the game uses at runtime. Unfortunately, every time I try to directly access the public enum AAMode in Antialiasing.cs from a script attached to my camera, it gives me the error:
I have a number 0 through 6, gotten from Dropdown.value which I want to map to the settings. I have tried casting my int to an enum using (AAMode)myInt-- it doesn’t make any difference. There seems to be something preventing Unity from recognizing that the Antialiasing script contains an enum. Yes, I am using UnityStandardAssets.ImageEffects;
No idea why this isn’t working. This is a really essential feature for PC games. In fact, menus in general need to be supported a lot better than they are, just to keep pace with what the game-buying public expects from PC releases.