SetData
Sets data for the OnModifyAndroidProjectFiles callback.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Android
- Assembly: UnityEditor.Android.Extensions
SetData(string, string)
Sets data for the OnModifyAndroidProjectFiles callback.
public void SetData(string key, string value)
Parameters
Remarks
This method is used to set data from the Unity Editor and it is passed to the callback.
OnModifyAndroidProjectFilesIf data with the same key already exists, Unity throws an error.
SetData<T>(string, T)
Sets data as serializable object.
public void SetData<T>(string key, T value)
Parameters
Remarks
This method is used to set data from the Unity Editor and it is passed to the callback.
OnModifyAndroidProjectFilesIf data with the same key already exists, Unity throws an error.