Version: 2022.1
言語: 日本語

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アセットをメモリに読み込みます
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961