ドキュメント

Unity Engine

Download Unity

Unity Engine

GetPlatformData

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

Definition

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

GetPlatformData(BuildTarget, string)

Gets the platform-specific data stored under a key for a build target.
public string GetPlatformData(BuildTarget platform, string key)

Parameters

platform

The target platform.

The key that the data is stored under.

Returns

Type

Description

stringThe platform-specific data stored under the key.

Remarks

Use PluginImporter.SetPlatformData to store the data.

GetPlatformData(string, string)

Gets the platform-specific data stored under a key for a platform, identified by name.
public string GetPlatformData(string platformName, string key)

Parameters

platformName

The name of the target platform.

The key that the data is stored under.

Returns

Type

Description

stringThe platform-specific data stored under the key.

Remarks

Use PluginImporter.SetPlatformData to store the data.