Documentation

Unity Engine

Unity Engine

SetPlatformData

Stores platform-specific data under a key for a build target.
Read time 1 minuteLast updated 21 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

SetPlatformData(BuildTarget, string, string)

Stores platform-specific data under a key for a build target.
public void SetPlatformData(BuildTarget platform, string key, string value)

Parameters

platform

The target platform.

The key to store the data under.

value

The data to store.

Remarks

Use PluginImporter.GetPlatformData to read the data.

SetPlatformData(string, string, string)

Stores platform-specific data under a key for a platform, identified by name.
public void SetPlatformData(string platformName, string key, string value)

Parameters

platformName

The name of the target platform.

The key to store the data under.

value

The data to store.

Remarks

Use PluginImporter.GetPlatformData to read the data.