Version: 2019.2
LanguageEnglish
  • C#

Sample.importPath

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public string importPath;

Description

The full path to where the sample will be imported, under the project assets folder.

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 won't be taken into consideration during import.