Setup()
A callback for setting up prerequisites for modifying custom Android Gradle project files.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Android
- Assembly: UnityEditor.Android.Extensions
public virtual AndroidProjectFilesModifierContext Setup()
Returns
Type | Description |
|---|---|
| AndroidProjectFilesModifierContext |
Remarks
You must use if your AndroidProjectFilesModifier.OnModifyAndroidProjectFiles callback depends on external dependencies such as an asset or any other file, or if it produces new files, such as custom Gradle project files.
SetupThis callback should not do any modifications or produce any files by itself.