|
Third Person Cover Shooter
1.6
|
Simple camera that looks and follows at characters from above. More...
Public Attributes | |
| bool | FollowTarget = false |
| Should the camera always stay on top of the target. More... | |
| float | FOV = 45 |
| Field of view. More... | |
| float | Speed = 10 |
| Speed at which the camera moves. More... | |
| float | Acceleration = 10 |
| Speed at which the camera accelerates. More... | |
| float | TargetTransitionDuration = 1 |
| Time in seconds it takes for the camera to transition between targets. More... | |
| float | MinHeight = 5 |
| Min height the camera can reach. More... | |
| float | MaxHeight = 15 |
| Max height the camera can reach. More... | |
| float | HeightSpeed = 1 |
Public Attributes inherited from CoverShooter.BaseCamera | |
| CharacterMotor | Target |
| Target character motor. More... | |
| Action | TargetChanged |
| Executed on every camera target change. More... | |
Protected Member Functions | |
| override void | Update () |
Additional Inherited Members | |
Public Member Functions inherited from CoverShooter.BaseCamera | |
| T | TargetComponent< T > () |
| Get cached component of the target object. More... | |
| override void | DeferUpdate (ICharacterController controller) |
| Asks the camera to call UpdateAfterCamera on the given controller after the camera does it's update. More... | |
| override void | UpdateForCharacterMotor () |
| Update performed after the character motor does it's thing. More... | |
Simple camera that looks and follows at characters from above.
|
protectedvirtual |
Reimplemented from CoverShooter.BaseCamera.
| float CoverShooter.StrategyCamera.Acceleration = 10 |
Speed at which the camera accelerates.
| bool CoverShooter.StrategyCamera.FollowTarget = false |
Should the camera always stay on top of the target.
| float CoverShooter.StrategyCamera.FOV = 45 |
Field of view.
| float CoverShooter.StrategyCamera.HeightSpeed = 1 |
| float CoverShooter.StrategyCamera.MaxHeight = 15 |
Max height the camera can reach.
| float CoverShooter.StrategyCamera.MinHeight = 5 |
Min height the camera can reach.
| float CoverShooter.StrategyCamera.Speed = 10 |
Speed at which the camera moves.
| float CoverShooter.StrategyCamera.TargetTransitionDuration = 1 |
Time in seconds it takes for the camera to transition between targets.