![]() |
CRIWARE Unity Plugin Manual
Last Updated: 2025-06-23
|
クラス | |
| class | CriFsPlugin |
| CRIFsライブラリのグローバルクラスです。 [詳解] | |
関数 | |
| virtual void | Stop () |
| 非同期処理を停止させます。 [詳解] | |
| YieldInstruction | WaitForDone (MonoBehaviour mb) |
| 非同期処理の完了を待ちます。 [詳解] | |
| override void | Stop () |
| 非同期処理を停止させます。 [詳解] | |
| override void | Stop () |
| インストール処理を停止します。 [詳解] | |
| override void | Stop () |
| インストール処理を停止します。 [詳解] | |
| override void | Stop () |
| 非同期処理を停止させます。 [詳解] | |
| static CriFsLoadFileRequest | LoadFile (string path, int readUnitSize=DefaultReadUnitSize) |
| ファイルのロードを開始します。 [詳解] | |
| static CriFsLoadFileRequest | LoadFile (CriFsBinder binder, string path, int readUnitSize=DefaultReadUnitSize) |
| ファイルのロードを開始します。 [詳解] | |
| static CriFsLoadAssetBundleRequest | LoadAssetBundle (string path, int readUnitSize=DefaultReadUnitSize) |
| アセットバンドルファイルのロードを開始します。 [詳解] | |
| static CriFsLoadAssetBundleRequest | LoadAssetBundle (CriFsBinder binder, string path, int readUnitSize=DefaultReadUnitSize) |
| アセットバンドルファイルのロードを開始します。 [詳解] | |
| static CriFsInstallRequest | Install (string srcPath, string dstPath) |
| ファイルのインストールを開始します。 [詳解] | |
| static CriFsInstallRequest | Install (CriFsBinder srcBinder, string srcPath, string dstPath) |
| ファイルのインストールを開始します。 [詳解] | |
| static CriFsInstallRequest | WebInstall (string srcPath, string dstPath, CriFsRequest.DoneDelegate doneDeleagate) |
| ファイルのインストールを開始します。 [詳解] | |
| static CriFsBindRequest | BindCpk (CriFsBinder targetBinder, string srcPath) |
| CPKファイルのバインドを開始します。 [詳解] | |
| static CriFsBindRequest | BindCpk (CriFsBinder targetBinder, CriFsBinder srcBinder, string srcPath) |
| CPKファイルのバインドを開始します。 [詳解] | |
| static CriFsBindRequest | BindDirectory (CriFsBinder targetBinder, string srcPath) |
| ディレクトリパスのバインドを開始します。 [詳解] | |
| static CriFsBindRequest | BindDirectory (CriFsBinder targetBinder, CriFsBinder srcBinder, string srcPath) |
| ディレクトリパスのバインドを開始します。 [詳解] | |
| static CriFsBindRequest | BindFile (CriFsBinder targetBinder, string srcPath) |
| ファイルをバインドします。 [詳解] | |
| static CriFsBindRequest | BindFile (CriFsBinder targetBinder, CriFsBinder srcBinder, string srcPath) |
| ファイルのバインドを開始します。 [詳解] | |
| static void | SetUserAgentString (string userAgentString) |
| HTTPリクエストで使用するUser-Agent文字列を指定します。 [詳解] | |
| static void | SetProxyServer (string proxyPath, UInt16 proxyPort) |
| HTTPリクエストで使用するプロキシサーバを指定します。 [詳解] | |
| static void | SetPathSeparator (string filter) |
| パスセパレータの指定 [詳解] | |
変数 | |
| const int | DefaultReadUnitSize = (1024 * 1024) |
| 各ロードリクエストのデフォルトの読み込み単位サイズです。 [詳解] | |
プロパティ | |
| DoneDelegate | doneDelegate [get, protected set] |
| 処理が完了したときのデリゲート。 [詳解] | |
| bool | isDone [get] |
| 処理が完了したかどうか。 [詳解] | |
| string | error [get, protected set] |
| エラー情報。 [詳解] | |
| bool | isDisposed [get, protected set] |
| 破棄情報。 [詳解] | |
| string | path [get] |
| ロードするファイルのパスです。 [詳解] | |
| byte[] | bytes [get] |
| ロード結果を格納したバッファです。 [詳解] | |
| string | path [get] |
| ロードするアセットバンドルファイルのパスです。 [詳解] | |
| AssetBundle | assetBundle [get] |
| ロード結果のアセットバンドルです。 [詳解] | |
| string | sourcePath [get, protected set] |
| インストール元のファイルパスです。 [詳解] | |
| string | destinationPath [get, protected set] |
| インストール先のファイルパスです。 [詳解] | |
| float | progress [get, protected set] |
| インストール処理の進捗状況です。 [詳解] | |
| string | path [get] |
| バインドするファイルのパスです。 [詳解] | |
| uint | bindId [get] |
| バインド処理を識別するIDです。 [詳解] | |
プリミティブなC#からの呼び出しを想定したCRI File Systemの拡張機能です。
|
inlinevirtual |
非同期処理を停止させます。
CriFsBindRequest, CriFsWebInstallRequest, CriFsLoadFileRequestで再実装されています。
|
inline |
非同期処理の完了を待ちます。
非同期処理が完了するまで、コルーチンの実行をサスペンドします。
本関数はコルーチン内のyieldステートメントでのみ利用可能です。
具体的には、以下のような書式で使用する必要があります。
: // 非同期処理の開始 CriFsRequest request = CriFsUtility.?
// 非同期処理の完了まで待機 yield return request.WaitForDone(this); :
|
inlinevirtual |
|
inline |
インストール処理を停止します。
|
inlinevirtual |
インストール処理を停止します。
CriFsRequestを再実装しています。
|
inlinevirtual |
|
inlinestatic |
ファイルのロードを開始します。
| path | ファイルパス |
| readUnitSize | 内部で使用するCriFsLoaderの読み込み単位サイズ |
|
inlinestatic |
ファイルのロードを開始します。
| binder | バインダ |
| path | ファイルパス |
| readUnitSize | 内部で使用するCriFsLoaderの読み込み単位サイズ |
|
inlinestatic |
アセットバンドルファイルのロードを開始します。
| path | ファイルパス |
| readUnitSize | 内部で使用するCriFsLoaderの読み込み単位サイズ |
|
inlinestatic |
アセットバンドルファイルのロードを開始します。
| binder | バインダ |
| path | ファイルパス |
| readUnitSize | 内部で使用するCriFsLoaderの読み込み単位サイズ |
|
inlinestatic |
ファイルのインストールを開始します。
| srcPath | インストール元ファイルパス |
| dstPath | インストール先ファイルパス |
|
inlinestatic |
ファイルのインストールを開始します。
| srcBinder | インストール元バインダ |
| srcPath | インストール元ファイルパス |
| dstPath | インストール先ファイルパス |
|
inlinestatic |
ファイルのインストールを開始します。
| srcPath | インストール元ファイルパス(URL) |
| dstPath | インストール先ファイルパス |
| doneDeleagate | 非同期処理の完了コールバック |
|
inlinestatic |
CPKファイルのバインドを開始します。
| targetBinder | バインド先バインダ |
| srcPath | CPKファイルパス |
|
inlinestatic |
CPKファイルのバインドを開始します。
| targetBinder | バインド先バインダ |
| srcBinder | バインドするCPKファイルにアクセスするためのバインダ |
| srcPath | CPKファイルパス |
|
inlinestatic |
ディレクトリパスのバインドを開始します。
| targetBinder | バインド先バインダ |
| srcPath | バインドするディレクトリのパス名 |
|
inlinestatic |
ディレクトリパスのバインドを開始します。
| targetBinder | バインド先バインダ |
| srcBinder | バインドするディレクトリにアクセスするためのバインダ |
| srcPath | CPKファイルパス |
|
inlinestatic |
ファイルをバインドします。
| targetBinder | バインド先バインダ |
| srcPath | バインドするファイルのパス名 |
|
inlinestatic |
ファイルのバインドを開始します。
| targetBinder | バインド先バインダ |
| srcBinder | バインドするファイルにアクセスするためのバインダ |
| srcPath | ファイルパス |
|
inlinestatic |
HTTPリクエストで使用するUser-Agent文字列を指定します。
| userAgentString | User-Agent文字 |
|
inlinestatic |
HTTPリクエストで使用するプロキシサーバを指定します。
| proxyPath | プロキシサーバアドレス |
| proxyPort | プロキシサーバポート番号 |
|
inlinestatic |
パスセパレータの指定
| filter | セパレータとして使用する文字の一覧 |
| const int DefaultReadUnitSize = (1024 * 1024) |
各ロードリクエストのデフォルトの読み込み単位サイズです。
|
getprotected set |
処理が完了したときのデリゲート。
|
get |
処理が完了したかどうか。
|
getprotected set |
エラー情報。
|
getprotected set |
破棄情報。
|
get |
ロードするファイルのパスです。
|
get |
ロード結果を格納したバッファです。
|
get |
ロードするアセットバンドルファイルのパスです。
|
get |
ロード結果のアセットバンドルです。
|
getprotected set |
インストール元のファイルパスです。
|
getprotected set |
インストール先のファイルパスです。
|
getprotected set |
インストール処理の進捗状況です。
|
get |
バインドするファイルのパスです。
|
get |