Asset Accessor

CarterGames.SaveManager.Runtime
CarterGames.Assets.SaveManager

You can use the asset accessor class to get any scriptable object from the asset at runtime. You can also use this to get any save object if you’d like but it is mainly for runtime access for som eof the asset functionality.

API

Methods

Method

Gets an asset of the type entered that inherits from the SaveManagerAsset class.

SettingsAssetRuntime asset = AssetAccessor.GetAsset<SettingsAssetRuntime>();

Method

Gets all assets of the type entered that inherits from the SaveManagerAsset class.

List<SettingsAssetRuntime> assets = AssetAccessor.GetAssets<SettingsAssetRuntime>();