PlatformOverrideRegistry

csharp
public static class PlatformOverrideRegistry

Namespace NodeWorld.SDK.PlatformSwitch.

Finds the override type that fits an object, component or asset (exact types first, then Renderer, Collider and Behaviour for their subclasses).

Methods

CreateFor

csharp
public static PlatformOverrideBase CreateFor(Object target)

Creates the correct PlatformOverrideBase subclass for the given target. Returns null if no matching override exists.