This version of Unity is unsupported.

AndroidProjectFiles.GetData

Declaration

public string GetData(string key);

Parameters

key Data key.
value Data value as string.

Description

Gets data that was set in the Setup method.

This method is used to get data from the Unity Editor by setting it in the Setup method.

If data with the the given key does not exist, Unity throws an error.


Declaration

public T GetData(string key);

Parameters

key Data key.
value Serializable object.

Description

Gets data that was set in the Setup method.

This method is used to get data from the Unity Editor by setting it in the Setup method.

If data with the the given key does not exist, Unity throws an error.