PlatformSwitchGUI

csharp
public static class PlatformSwitchGUI

Namespace NodeWorld.SDK.PlatformSwitch.Editor.

Shared drawing routines used by both the inspector and the window. Operates on a SerializedObject wrapping an NWPlatformSwitch.

Methods

DrawEntries

csharp
public static void DrawEntries(NWPlatformSwitch sw, SerializedObject so)

Draws the table of overrides of sw, with their target and their PC and Android values.

DrawApplyButtons

csharp
public static void DrawApplyButtons(NWPlatformSwitch sw)

Draws the Apply Desktop and Apply Android buttons.

RecordUndo

csharp
public static void RecordUndo(NWPlatformSwitch sw, string name)

Records sw for Undo under name.

MarkSceneDirty

csharp
public static void MarkSceneDirty()

Marks the open scene as changed.