![]() |
Adventure Creator 1.84.3
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2024
|
Public Member Functions | |
| override void | MoveCameraInstant () |
| override void | _Update () |
| void | ShowGUI () |
| Public Member Functions inherited from AC.CursorInfluenceCamera | |
| override Vector2 | CreateRotationOffset () |
| Returns a vector by which to tweak the camera's rotation. The x-axis will control the spin, and the y-axis will control the pitch. | |
| void | ShowCursorInfluenceGUI () |
| Public Member Functions inherited from AC._Camera | |
| virtual void | SwitchTarget (Transform _target) |
| Switches the camera's target. | |
| virtual bool | Is2D () |
| Checks if the camera is for 2D games. This is necessary for working out if the MainCamera needs to change its projection matrix. | |
| virtual void | ResetTarget () |
| void | SetSplitScreen () |
| void | RemoveSplitScreen () |
| virtual Vector2 | GetPerspectiveOffset () |
| Gets the actual horizontal and vertical panning offsets. | |
| bool | IsActive () |
| Checks if the Camera is currently the MainCamera's active camera (attachedCamera) | |
| void | MakeActive () |
Public Attributes | |
| float | dampSpeed = 0.9f |
| Public Attributes inherited from AC.CursorInfluenceCamera | |
| bool | followCursor = false |
| Vector2 | cursorInfluence = new Vector2 (0.3f, 0.1f) |
| bool | constrainCursorInfluenceX = false |
| Vector2 | limitCursorInfluenceX |
| bool | constrainCursorInfluenceY = false |
| Vector2 | limitCursorInfluenceY |
| float | followCursorSpeed = 3f |
| CutsceneBehaviour | cutsceneBehaviour = CutsceneBehaviour.Freeze |
| CutsceneBehaviour | conversationBehaviour = CutsceneBehaviour.Freeze |
| Public Attributes inherited from AC._Camera | |
| bool | targetIsPlayer = true |
| Transform | target |
| bool | isDragControlled = false |
| float | focalDistance = 10f |
| bool | updateWhilePaused = false |
Protected Member Functions | |
| override void | OnEnable () |
| Protected Member Functions inherited from AC._Camera | |
| virtual void | Awake () |
| virtual void | Start () |
| virtual void | OnDisable () |
| Vector3 | PositionRelativeToCamera (Vector3 _position) |
| Vector3 | RightVector () |
| Vector3 | ForwardVector () |
| float | ConstrainAxis (float desired, Vector2 range, bool isAngle=false) |
Additional Inherited Members | |
| Public Types inherited from AC.CursorInfluenceCamera | |
| enum | CutsceneBehaviour { Freeze , Allow , Reset } |
| Protected Attributes inherited from AC.CursorInfluenceCamera | |
| Vector2 | actualCursorOffset |
| Protected Attributes inherited from AC._Camera | |
| Char | targetChar |
| Camera | _camera |
| Vector2 | inputMovement |
| bool | is2D = false |
| Properties inherited from AC.CursorInfluenceCamera | |
| bool | FreezeCursorInfluence [get, set] |
| Properties inherited from AC._Camera | |
| Transform | Target [get] |
| Transform | CameraTransform [get] |
| Transform | Transform [get] |
| Camera | Camera [get] |
| bool | isFor2D [get, set] |
| virtual TransparencySortMode | TransparencySortMode [get] |
| Vector3 | TargetForward [get] |
| virtual bool | CursorOffsetForcesTranslation [get] |
|
virtual |
Updates the camera. This is called every frame by StateHandler.
Reimplemented from AC._Camera.
|
virtual |
Moves the camera instantly to its destination.
Reimplemented from AC._Camera.
|
protectedvirtual |
Reimplemented from AC._Camera.
| float AC.GameCameraArray.dampSpeed = 0.9f |
The follow speed when tracking a target