public enum PlayerType
Specifies the type of player to use with an Active Grid.
Name | Value | Description |
---|---|---|
TransformPlayer | 0 | Use a traditional Transform based player. This allows you to assign a Transform component to use as the player. |
CustomPlayer | 1 | Use a CustomPlayer. This allows you to assign a component deriving from CustomPlayer, which is useful in situations where your player isn't associated with a Transform (DOTs system, for instance). |
AssignAtRuntime | 2 | Forces you to assign the IPlayer or Transform to use as the player at runtime, via the PreInitialize_SetPlayer method. This is useful if your player is only created at runtime. |