PlatformHelper

csharp
public static class PlatformHelper

Namespace NodeWorld.SDK.PlatformSwitch.Editor.

Converts between UnityEditor.BuildTarget and NWPlatform.

Methods

FromBuildTarget

csharp
public static NWPlatform FromBuildTarget(BuildTarget target)

The platform of a Unity build target: Android for Android, desktop PC for the others.

DisplayName

csharp
public static string DisplayName(NWPlatform platform)

The name shown for platform.