Summary
A camera movement manager for a 2D platformer.
- Assembly
- PlatformerGameKit
.dll - Namespace
- PlatformerGameKit
- Base Types
-
- MonoBehaviour
graph BT
Type-->Base0["MonoBehaviour"]
Type["CameraMan"]
class Type type-node
Syntax
[AddComponentMenu(Strings.MenuPrefix + "Camera Man")]
[PlatformerHelpUrl(typeof(CameraMan))]
[ExecuteAlways]
public class CameraMan : MonoBehaviour
Remarks
Documentation:
Camera Man
Attributes
| Type | Description |
|---|---|
| AddComponentMenu | |
| Platformer |
[Assert-Conditional]
A UnityEngine.HelpURLAttribute which points to Platformer Game Kit's documentation.
|
| ExecuteAlways |
Properties
| Name | Value | Summary |
|---|---|---|
| Camera | Camera | |
| DynamicAcceleration | float | |
| LinearAcceleration | float | |
| Offset | Vector3 | |
| OffsetFactor | float | |
| Target | Transform | |
| TargetRigidbody | Rigidbody2D | |
| VelocityFactor | float |
Methods
| Name | Value | Summary |
|---|---|---|
| Awake |
void | |
| LateUpdate |
void | |
| OnValidate |
void |
[Editor-Only] Ensures that all fields have valid values and finds missing components nearby.
|