GetPlatformData
Gets the platform-specific data stored under a key for a build target.
阅读时间1 分钟最后更新于 21 天前
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
Returns
Type | Description |
|---|---|
| string | The 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
Returns
Type | Description |
|---|---|
| string | The platform-specific data stored under the key. |
Remarks
Use PluginImporter.SetPlatformData to store the data.