기술 자료

Unity Engine


User Manual

Script Reference

Unity Engine


Save()

Saves all modified preferences.
읽는 시간 1분최근 업데이트: 22일 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static void Save()

Remarks

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.