Version: 2019.1
public string FindFileGuidByRealPath (string path, iOS.Xcode.PBXSourceTree sourceTree);
public string FindFileGuidByRealPath (string path);

パラメーター

pathファイルの物理パス(ローカルに保存されている実際のパス)
sourceTreeThe source tree path is relative to. The PBXSourceTree.Group tree is not supported.

戻り値

string The GUID of the file if the search succeeded, null otherwise.

説明

Finds a file with the given physical path in the project, if any.

sourceTree の引数なしの場合は、検知できるすべてのファイルを対象に行います。この動きに注意して sourceTree 引数を使用してください。

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961