in my menu I have included the video settings (anti-aliasing, anistropic, etc…) and I would like that when you flip the button relating to the settings to be saved in playerprefs and then subsequently reloaded each time but do not know how to do … …
the script of my menu is this:
void OnGUI() {
GUILayout.BeginArea(new Rect(Screen.width / 2.3f,Screen.height / 2.7f,500,500));
GUILayout.Label("Anti-Aliasing Filter");
GUILayout.Button(" Disable");
GUILayout.Button(" 2X",);
GUILayout.EndArea();
}
can you tell me the script for the playerprefs?