Property | 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 |
Property | Type | Description | |
---|---|---|---|
AddGunImpulse | void | ||
AddReloadImpulse | void | ||
CheckTargets | void | ||
Shoot | void | ||
ShootFast | void | ||
ShootHoming | void | ||
ShootRail | void | ||
TestScreenSpaceLockTargets | void |
Method | 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 |
Method | 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, | |
return | bool |
public DoHomingShot ( float spread, PlayerScript, target, float homing, bool doSound ) : void | ||
spread | float | |
target | PlayerScript, | |
homing | float | |
doSound | bool | |
return | void |
public AudioSource,UnityEngine FireRailSound | ||
return |
public AudioSource,UnityEngine burstGunSound | ||
return |
public Texture2D,UnityEngine cannonIndicator | ||
return |
public AnimationCurve,UnityEngine cannonInnerScale | ||
return |
public AnimationCurve,UnityEngine cannonOuterScale | ||
return |
public AudioSource,UnityEngine pepperGunSound | ||
return |
public AudioSource,UnityEngine reloadSound | ||
return |
public AudioSource,UnityEngine targetSound | ||
return |