Version: 2022.3
言語: 日本語
public static void Save ();

説明

Saves all modified preferences.

Unity saves preferences automatically during OnApplicationQuit(). On the Universal Windows Platform, Unity writes preferences during application suspend. For information on the storage location, see PlayerPrefs.

Note: Since writing the PlayerPrefs can cause hiccups, it is recommended to not call this function during gameplay.