Class CinemachineFreeLookMouseInput
Class CinemachineFreeLookMouseInput.
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEditor.Industrial.Configuring.UI
Syntax
public class CinemachineFreeLookMouseInput : MonoBehaviour
Properties
cinemachineVirtualCamera
Gets or sets the cinemachine virtual camera.
Declaration
public CinemachineVirtualCamera cinemachineVirtualCamera { get; set; }
Property Value
| Type | Description |
|---|---|
| Cinemachine.CinemachineVirtualCamera | The cinemachine virtual camera. |
sensitivity
Gets or sets the sensitivity.
Declaration
public float sensitivity { get; set; }
Property Value
| Type | Description |
|---|---|
| Single | The sensitivity. |
zoomRange
Gets or sets the zoom range.
Declaration
public Vector2 zoomRange { get; set; }
Property Value
| Type | Description |
|---|---|
| Vector2 | The zoom range. |
Methods
GetAxisCustom(String)
Gets the axis custom.
Declaration
public float GetAxisCustom(string axisName)
Parameters
| Type | Name | Description |
|---|---|---|
| String | axisName | Name of the axis. |
Returns
| Type | Description |
|---|---|
| Single | System.Single. |