|
2D Shooter Bullet and Weapon System for Unity 3.0.0
|
Very basic, example player movement script for demo scenes. More...
Public Types | |
| enum | PlayerMovementType { Normal , FreeAim } |
Public Attributes | |
| PlayerMovementType | playerMovementType |
| Sets the player movement type - either normal top down horizontal or vertical (good for shmups), or to FreeAim, which allows for free aiming type top down shooter style controls. | |
| Light | FlashLight |
| Reference to a light object used as an example flash light in some demo scenes for the player. | |
| bool | IsMoving |
| Flag if the player is moving or not. | |
| float | freeAimMovementSpeed = 2f |
| Movement speed. | |
Very basic, example player movement script for demo scenes.
| Light PlayerMovement.FlashLight |
Reference to a light object used as an example flash light in some demo scenes for the player.
| float PlayerMovement.freeAimMovementSpeed = 2f |
Movement speed.
| bool PlayerMovement.IsMoving |
Flag if the player is moving or not.
| PlayerMovementType PlayerMovement.playerMovementType |
Sets the player movement type - either normal top down horizontal or vertical (good for shmups), or to FreeAim, which allows for free aiming type top down shooter style controls.