CustomPlayer Class

public abstract class CustomPlayer : MonoBehaviour

This represents a custom player. Override this class to create a custom IPlayer implementation that can be assigned to an ActiveGrid, either in the inspector or at runtime via the PreInitialize_SetPlayer method. Custom IPlayer implementations can be used in situations where you player is not represented by a traditional Transform component. Take a look at the IPlayer interface for more information.

Properties

Name Type Description
Position Vector3Double

When overriden, gets or sets the position of the player.