Свойство | Type | Description | |
---|---|---|---|
BarrelTransform | Transform | ||
BurstCount | int | ||
BurstSpread | float | ||
CannonChargeTime | float | ||
FireRailSound | |||
GunRotationSmoothingSpeed | float | ||
HeatAccuracyFudge | float | ||
HeatAccuracyZoomedMultiplier | float | ||
HeatCooldownScale | float | ||
HeatPerShot | float | ||
ReloadTime | float | ||
ReloaderTransform | Transform | ||
ShotCooldown | float | ||
ShotCooldownZoomedMultiplier | float | ||
ShotgunBulletSpeedMultiplier | float | ||
ShotgunHomingSpeed | float | ||
ShotgunSpread | float | ||
ShotgunSpreadBase | float | ||
bulletPrefab | BulletScript, | ||
burstGunSound | |||
cannonBulletPrefab | BulletScript, | ||
cannonIndicator | |||
cannonInnerScale | |||
cannonOuterScale | |||
fastBulletPrefab | BulletScript, | ||
gun | Transform | ||
heat | float | ||
pepperGunSound | |||
railCosmeticPrefab | BulletScript, | ||
railPrefab | BulletScript, | ||
reloadSound | |||
targetSound | |||
targets | List |
Свойство | Type | Description | |
---|---|---|---|
AddGunImpulse | void | ||
AddReloadImpulse | void | ||
CheckTargets | void | ||
Shoot | void | ||
ShootFast | void | ||
ShootHoming | void | ||
ShootRail | void | ||
TestScreenSpaceLockTargets | void |
Méthode | Description | |
---|---|---|
Awake ( ) : void | ||
CharacterIsInTargets ( PlayerScript, otherCharacter ) : bool | ||
DoHomingShot ( float spread, PlayerScript, target, float homing, bool doSound ) : void | ||
DoRailShot ( ) : void | ||
DoShot ( float spread ) : void | ||
InstantReload ( ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
Méthode | Description | |
---|---|---|
AddGunImpulse ( float strength ) : void | ||
AddReloadImpulse ( ) : void | ||
CheckTargets ( ) : void | ||
Shoot ( Vector3 position, Quaternion rotation, uLink player ) : void | ||
ShootFast ( Vector3 position, Quaternion rotation, uLink player ) : void | ||
ShootHoming ( Vector3 position, Quaternion rotation, uLink player, uLink target, Vector3 lastKnownPosition, float homing, bool doSound ) : void | ||
ShootRail ( Vector3 position, Quaternion rotation, uLink player ) : void | ||
TestScreenSpaceLockTargets ( ) : void |
public CharacterIsInTargets ( PlayerScript, otherCharacter ) : bool | ||
otherCharacter | PlayerScript, | |
Résultat | bool |
public DoHomingShot ( float spread, PlayerScript, target, float homing, bool doSound ) : void | ||
spread | float | |
target | PlayerScript, | |
homing | float | |
doSound | bool | |
Résultat | void |
public AudioSource,UnityEngine FireRailSound | ||
Résultat |
public float HeatAccuracyZoomedMultiplier | ||
Résultat | float |
public float ShotCooldownZoomedMultiplier | ||
Résultat | float |
public float ShotgunBulletSpeedMultiplier | ||
Résultat | float |
public AudioSource,UnityEngine burstGunSound | ||
Résultat |
public BulletScript, cannonBulletPrefab | ||
Résultat | BulletScript, |
public Texture2D,UnityEngine cannonIndicator | ||
Résultat |
public AnimationCurve,UnityEngine cannonInnerScale | ||
Résultat |
public AnimationCurve,UnityEngine cannonOuterScale | ||
Résultat |
public AudioSource,UnityEngine pepperGunSound | ||
Résultat |
public BulletScript, railCosmeticPrefab | ||
Résultat | BulletScript, |
public AudioSource,UnityEngine reloadSound | ||
Résultat |
public AudioSource,UnityEngine targetSound | ||
Résultat |