Version: Unity 7.0 Alpha (7000.0)
LanguageEnglish
  • C#

PluginImporter.GetPlatformData

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

Declaration

public string GetPlatformData(BuildTarget platform, string key);

Parameters

Parameter Description
platform The target platform.
key The key that the data is stored under.

Returns

string The platform-specific data stored under the key.

Description

Gets the platform-specific data stored under a key for a build target.

Use PluginImporter.SetPlatformData to store the data.


Declaration

public string GetPlatformData(string platformName, string key);

Parameters

Parameter Description
platformName The name of the target platform.
key The key that the data is stored under.

Returns

string The platform-specific data stored under the key.

Description

Gets the platform-specific data stored under a key for a platform, identified by name.

Use PluginImporter.SetPlatformData to store the data.