Свойство | Тип | Описание | |
---|---|---|---|
DisplayDebugGizmos | bool | ||
MaxDistance | float | ||
MaxPitch | float | ||
MinDistance | float | ||
MinPitch | float | ||
MouseLookButton | string | ||
MouseRotateButton | string | ||
PitchAxis | string | ||
RotationMouseSpeed | float | ||
SmoothAutoRotation | bool | ||
SmoothAutoRotationSpeed | float | ||
SmoothRotation | bool | ||
SmoothRotationSpeed | float | ||
SmoothZoom | bool | ||
SmoothZoomSpeed | float | ||
TargetOffset | Common.Vector3 | ||
YawAxis | string | ||
ZoomAxis | string | ||
ZoomSpeed | float | ||
cam | Common.Camera | ||
cameraObstacles | LayerMask | ||
instance | |||
target | Common.Transform |
Метод | Описание | |
---|---|---|
Awake ( ) : void | ||
GetAxisRawSafe ( string name, float @default ) : float | ||
GetButtonSafe ( string name, bool @default ) : bool | ||
Initialize ( ) : void | ||
LateUpdate ( ) : void | ||
OnDrawGizmos ( ) : void | ||
SignedAngle ( Common.Vector3 v1, Common.Vector3 v2, Common.Vector3 n ) : float | ||
Update ( ) : void |
Метод | Описание | |
---|---|---|
AvoidCollision ( Common.Vector3 point, float &closest ) : bool |
public static GetAxisRawSafe ( string name, float @default ) : float | ||
name | string | |
@default | float | |
Результат | float |
public static GetButtonSafe ( string name, bool @default ) : bool | ||
name | string | |
@default | bool | |
Результат | bool |
public static SignedAngle ( Common.Vector3 v1, Common.Vector3 v2, Common.Vector3 n ) : float | ||
v1 | Common.Vector3 | |
v2 | Common.Vector3 | |
n | Common.Vector3 | |
Результат | float |