文档

Unity Engine

Unity Engine

importPath

The full path to where the sample will be imported, under the project assets folder.
阅读时间1 分钟最后更新于 1 个月前

Definition

public readonly string importPath { get; }

Remarks

It is in the form of
Project Full Path/Assets/Samples/Package Display Name/Package Version/Sample Display Name/
. If the sample is an asset package (a .unitypackage file), this value is ignored during import.