CRIWARE Unity Plugin Manual  Last Updated: 2024-07-12
ICriAssetImpl Interface Reference

Data storage destination interface More...

Inheritance diagram for ICriAssetImpl:
ICriFileAssetImpl ICriMemoryAssetImpl CriAddressableAssetImpl CriStreamingFolderAssetImpl CriSerializedBytesAssetImpl

Public Member Functions

void OnEnable ()
 Processing when an asset is enabled More...
 
void OnDisable ()
 Processing when an asset is disabled More...
 

Properties

bool IsReady [get]
 Whether the data is available
 

Detailed Description

Data storage destination interface

Description:
This is the common interface of the classes that represent the storage location of the actual data held by an asset.
CriAssetBase can have a data storage location by implementing the methods of this interface.

Member Function Documentation

void OnEnable ( )

Processing when an asset is enabled

Description:
Called when the corresponding CRI asset becomes Enabled.
The data reference setup process etc. will be performed.

Implemented in CriAddressableAssetImpl, CriSerializedBytesAssetImpl, and CriStreamingFolderAssetImpl.

void OnDisable ( )

Processing when an asset is disabled

Description:
Called when the corresponding CRI asset becomes Disable.
The resources allocated in the instance will be destroyed.

Implemented in CriAddressableAssetImpl, CriSerializedBytesAssetImpl, and CriStreamingFolderAssetImpl.


The documentation for this interface was generated from the following file: