PlatformOverrideBase

csharp
public abstract class PlatformOverrideBase

Namespace NodeWorld.SDK.PlatformSwitch.

An override of the Platform Switch: the values of one object, component or asset for desktop PC and for Android (Quest), applied when the build target changes.

Properties

Label

csharp
public abstract string Label { get; }

Display name shown in the inspector header.

TargetType

csharp
public abstract Type TargetType { get; }

The System.Type this override is designed for.

Methods

Setup

csharp
public abstract void Setup(Object target)

Read the current values from the target and populate both PC & Android fields.

Apply

csharp
public abstract void Apply(Object target, NWPlatform platform)

Apply the correct platform values to the target.