文档

Unity Engine

Unity Engine

AddFileAsGuidToCopy(string, string)

Declare an asset to copy into the Gradle project.
阅读时间1 分钟最后更新于 1 个月前

Definition

public void AddFileAsGuidToCopy(string guid, string destination)

Parameters

guid

The GUID of an asset in your Unity project.

destination

The path to place the asset copy. This is relative to the Gradle project root.

Remarks

If another file with the same destination has already been added, Unity throws an exception.