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

Actual data storage destination interface (file) More...

Inheritance diagram for ICriFileAssetImpl:
ICriAssetImpl CriAddressableAssetImpl CriStreamingFolderAssetImpl

Public Member Functions

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

Properties

string Path [get]
 Non-Asset CRI Data Path More...
 
ulong Offset [get]
 Data position in the file More...
 
long Size [get]
 Data Size More...
 
bool IsReady [get]
 Whether the data is available
 

Detailed Description

Actual data storage destination interface (file)

Description:
Provides an interface to get information about data that exists as a file.
You can customize the storage destination of the CRIWARE assets by inheriting this interface.

Member Function Documentation

void OnEnable ( )
inherited

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 ( )
inherited

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.

Property Documentation

string Path
get

Non-Asset CRI Data Path

Description:
Path to the Non-Asset CRI data which holds the actual data.
ulong Offset
get

Data position in the file

The offset of the target data within the file specified by Path.

long Size
get

Data Size

Description:
The size of the data in the file.

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