Version: 2022.1
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.