ドキュメント

Unity Engine

Download Unity

Unity Engine

SetPlatformData

Stores platform-specific data under a key for a build target.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.