How would you save anti aliasing or v-sync stuff that are like QualitySettings.antiAliasing = 2;
I can't seem to get my head around how you would save this. I have to functions to correspond with two buttons (this is the same for how my v-sync is set up) When it is off (no AA) it will show a hollow button but when on it will show a coloured button.
public void AntiAliasingDisable()
{
QualitySettings.antiAliasing = 1;
}
public void AntiAliasingEnable()
{
QualitySettings.antiAliasing = 2;
}
All I really want to know is how you would save this with an example.
I know how to use Player Prefs but I want to know how to set the "number" QualitySettings.antiAliasing = "number"; to save with a player pref like (PlayerPrefs.SetFloat("CurrentAA", number); or summet?
Your answer
Follow this Question
Related Questions
Why does NetworkServer.ReplacePlayerForConnection not recognize the instantiated object parameter? 0 Answers
I guys I have a really hard question 0 Answers
Can't Resources.Load ScriptableObject in Static class 0 Answers
Unity 5.3 UI Button wont set Select state via script after the parent has been set inactive 0 Answers