Свойство | Type | Description | |
---|---|---|---|
BarrelFirstPersonOffsetTransform | Transform | ||
CrosshairSmoothingSpeed | float | ||
ExteriorViewOffset | Vector3 | ||
HackDisableShadowsObjects | GameObject[] | ||
HasSmoothedRotation | bool | ||
InteriorViewOffset | Vector3 | ||
ObjectsToHideInFirstPerson | GameObject[] | ||
UsesRaycastCrosshair | bool | ||
ZoomedFieldOfViewRatio | float | ||
collisionRadius | float | ||
crosshair | Texture2D | ||
minDistance | float | ||
player | PlayerScript | ||
smoothing | float |
Свойство | Type | Description | |
---|---|---|---|
ReceiveExteriorViewOptionChanged | void | ||
ReceiveFOVChanged | void | ||
UpdateCameraObjectVisibiliy | void |
Méthode | Description | |
---|---|---|
AddGunShotImpulse ( float amount ) : void | ||
AddYSpringImpulse ( float impulse ) : void | ||
AdjustCameraFOVInstantly ( ) : void | ||
Awake ( ) : void | ||
CalculateGunShotImpulse ( float amount ) : Vector3 | ||
FixedUpdate ( ) : void | ||
GetCrosshairPosition ( ) : Vector2 | ||
GetTargetPosition ( ) : Vector3 | ||
LateUpdate ( ) : void | ||
OnDestroy ( ) : void | ||
OnGUI ( ) : void | ||
Render ( float size, Color color ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
Méthode | Description | |
---|---|---|
ReceiveExteriorViewOptionChanged ( bool newIsExterior ) : void | ||
ReceiveFOVChanged ( float fov ) : void | ||
UpdateCameraObjectVisibiliy ( ) : void |
public AddGunShotImpulse ( float amount ) : void | ||
amount | float | |
Résultat | void |
public AddYSpringImpulse ( float impulse ) : void | ||
impulse | float | |
Résultat | void |
public CalculateGunShotImpulse ( float amount ) : Vector3 | ||
amount | float | |
Résultat | Vector3 |
public Render ( float size, Color color ) : void | ||
size | float | |
color | Color | |
Résultat | void |
public Transform BarrelFirstPersonOffsetTransform | ||
Résultat | Transform |
public GameObject[] HackDisableShadowsObjects | ||
Résultat | GameObject[] |
public GameObject[] ObjectsToHideInFirstPerson | ||
Résultat | GameObject[] |