reckfellENGINE

PhysicsServer2DManager

A singleton for managing PhysicsServer2D implementations.

On this page
class PhysicsServer2DManagerReckfellSharp

A singleton for managing PhysicsServer2D implementations.

PhysicsServer2DManager is the API for registering PhysicsServer2D implementations and for setting the default implementation. Note: It is not possible to switch physics servers at runtime. This class is only used on startup at the server initialization level, by Reckfell itself and possibly by ReckfellExtensions.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Properties1

SingletonProperty
# Singleton
C#
public static PhysicsServer2DManagerInstance Singleton { get; }

Methods2

RegisterServervoid
# RegisterServer
C#
public static void RegisterServer(string name, Callable createCallback);

Register a PhysicsServer2D implementation by passing a name and a Callable that returns a PhysicsServer2D object.

Parameters
NameTypeDefault
namestring—
createCallbackCallable—
SetDefaultServervoid
# SetDefaultServer
C#
public static void SetDefaultServer(string name, int priority);

Set the default PhysicsServer2D implementation to the one identified by name, if priority is greater than the priority of the current default implementation.

Parameters
NameTypeDefault
namestring—
priorityint—
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.