Table of Contents

Save Method

Save(string, bool)

public UniTask Save(string description = "", bool dirtyOnly = false)

By Default it saves all savable regardless of it's state If DirtyOnly is passed then it only saves Those who's state is dirty On Save All ISavable's IsDirty is set to false And attempts to save the files to cloud accordingly with the given provider

Parameters

description string

Optional Description to be shown in game

dirtyOnly bool

Returns

UniTask

Save(ISaveable, string)

public UniTask Save(ISaveable savableComponent, string description)

Parameters

savableComponent ISaveable

This is for saving ISavable components externally

description string

Optional Description to be shown in game

Returns

UniTask