Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AddFileAsGuidToCopy(string, string)

Declare an asset to copy into the Gradle project.
Read time 1 minuteLast updated 10 days ago

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.