CRIWARE Unity Plugin Manual  Last Updated: 2026-07-17
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...
 
CriFsBinder Binder [get]
 Binder containing files 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, CriStreamingFolderAssetImpl, and CriSerializedBytesAssetImpl.

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, CriStreamingFolderAssetImpl, and CriSerializedBytesAssetImpl.

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.

CriFsBinder Binder
get

Binder containing files

Returns null for actual files on the local file system.


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