Version: 2021.2
言語: 日本語
protected void Save (bool saveAsText);

パラメーター

saveAsText If true then the file is saved as text, if false it is saved as binary.

説明

Saves the current state of the ScriptableSingleton.

Call this function whenever you want to save the current state of the ScriptableSingleton to the HDD for persistence. If you call this function and your class has no FilePathAttribute, then saving has no effect.
See Also: GetFilePath.