Interface ISubAssetsContainer
Used for Containers that provide ability to Save/Delete assets
to/from Container's asset file (ScriptableObject, Prefab)
Assembly: fwt.core.dll
Syntax
public interface ISubAssetsContainer
Properties
SubAssets
Declaration
List<Object> SubAssets { get; }
Property Value
| Type |
Description |
| List<Object> |
|
Methods
DeleteSubAsset(Object)
Removes Asset from file. DOES NOT destroy asset
Declaration
void DeleteSubAsset(Object asset)
Parameters
| Type |
Name |
Description |
| Object |
asset |
|
DestroyAllSubAssets()
Declaration
void DestroyAllSubAssets()
DestroySubAsset(Object)
Removes Asset from file and DESTROYS it
Declaration
void DestroySubAsset(Object asset)
Parameters
| Type |
Name |
Description |
| Object |
asset |
|
ReloadSubAssets()
Declaration
SaveSubAsset(Object)
Declaration
void SaveSubAsset(Object asset)
Parameters
| Type |
Name |
Description |
| Object |
asset |
|
Extension Methods