AndroidProjectFilesModifierContext.SetData

Declaration

public void SetData(string key, string value);

Parameters

key Data key.
value Data value as string.

Description

Sets data for the OnModifyAndroidProjectFiles callback.

This method is used to set data from the Unity Editor and it is passed to the OnModifyAndroidProjectFiles callback.

If data with the same key already exists, Unity throws an error.


Declaration

public void SetData(string key, T value);

Parameters

key Data key.
value Serializable object.

Description

Sets data as serializable object.

This method is used to set data from the Unity Editor and it is passed to the OnModifyAndroidProjectFiles callback.

If data with the same key already exists, Unity throws an error.


Did you find this page useful? Please give it a rating: