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
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.