PlatformOverrideBase
La référence est en anglais : elle est générée à partir des commentaires du code, écrits en anglais.
csharp
public abstract class PlatformOverrideBaseNamespace 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.
