NavigationServer2DManager
A singleton for managing NavigationServer2D implementations.
A singleton for managing NavigationServer2D implementations.
NavigationServer2DManager is the API for registering NavigationServer2D implementations and setting the default implementation.
Note: It is not possible to switch servers at runtime. This class is only used on startup at the server initialization level.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Properties1
SingletonProperty
public static NavigationServer2DManagerInstance Singleton { get; }Methods2
RegisterServervoid
public static void RegisterServer(string name, Callable createCallback);Registers a NavigationServer2D implementation by passing a name and a Callable that returns a NavigationServer2D object.
| Name | Type | Default |
|---|---|---|
name | string | — |
createCallback | Callable | — |
SetDefaultServervoid
public static void SetDefaultServer(string name, int priority);Sets the default NavigationServer2D implementation to the one identified by name, if priority is greater than the priority of the current default implementation.
| Name | Type | Default |
|---|---|---|
name | string | — |
priority | int | — |
Reckfell Engine documentationBack to top ↑