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