Version: 2020.2
言語: 日本語

Asset

class in UnityEditor.VersionControl

マニュアルに切り替える

説明

このクラスはアセットのバージョン管理ステートに関する情報を保持します。

変数

assetPathGets the path of the Asset relative to the project root. If the Asset is a meta file, the path to the meta file is returned.
fullNameアセットの拡張子を含めたフルネームを取得します
isFolderアセットがフォルダーの場合 true を返します
isInCurrentProjectReturns true if the asset file exists and is in the current project.
isMetaAsset クラスのインスタンスが実際に .meta ファイルを参照する場合 true を返します
lockedアセットがバージョン管理システムによりロックされている場合に true を返します
metaPathGets the path of the meta file for this Asset relative to the project root. If the Asset is a meta file, the path to the meta file is returned.
nameアセットの名前
pathアセットのパス
readOnlyアセットが読み取り専用の場合に true を返します
stateアセットのバージョン管理ステート

Public 関数

Edit関連付けされたエディターでアセットを開きます
IsOneOfStatesバージョン管理のステートが、引数としたステートのどれかと一致する場合に true を返します
IsStateもしアセットのバージョン管理ステートが引数のステートと完全一致する場合に true を返します
Loadアセットをメモリに読み込みます