I want to be able to show the current anti alias setting on screen but there is no variable for antialiasing in the QualitySettings class.
Can someone tell me how to show the current antialising value (0X, 2X, 4X, 6X, 16X)?
Also, regarding antialiasing...
It's usually necessary to restart a game to set a new antialias level, but I see in the editor that when I set antialiasing higher or lower it updates immediately.
Will I have to require my end-users to restart if they change the antialias setting or does Unity do it on the fly?
Currently, the only way to change the Anti-aliasing property at runtime is to manually set the QualitySettings.currentLevel property. Calling IncreaseLevel() or DecreaseLevel() will not work as these functions are instantaneous and don't change anti-aliasing settings. However, changing the currentLevel property can take some time, and may lag for a bit, since it does change anti-aliasing settings. The only way to manually set anti-aliasing levels is through the Quality editor in the Unity interface, you can't only set the AA level through scripting (you need to use Unity's quality levels). This is because changing the AA settings in-game is expensive, and can take time.
As for showing the level, just give each setting in the Quality editor a different value, and align those with the values that QualitySettings.currentValue returns.
answered Jun 08 '10 at 10:17 PM