CharacterController2D
Provide basic character movement behaviour.
Fields
Name | Type | Description |
---|---|---|
Speed | Float | Speed of character movement. |
EnableXFlip | Bool | Only applicable when there is a SpriteRenderer component on the same GameObject . Enables automatic flipping of the sprite depending on movement direction. |
InverseXFlip | Bool | Inverses the default flip direction of the sprite. |