C# Class PlayerShootingScript, WaitingForHorus

Inheritance: MonoBehaviour
ファイルを表示 Open project: merveilles/WaitingForHorus Class Usage Examples

Public Properties

Property Type Description
BarrelTransform Transform
BurstCount int
BurstSpread float
CannonChargeTime float
FireRailSound UnityEngine.AudioSource
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 UnityEngine.AudioSource
cannonBulletPrefab BulletScript,
cannonIndicator UnityEngine.Texture2D
cannonInnerScale UnityEngine.AnimationCurve
cannonOuterScale UnityEngine.AnimationCurve
fastBulletPrefab BulletScript,
gun Transform
heat float
pepperGunSound UnityEngine.AudioSource
railCosmeticPrefab BulletScript,
railPrefab BulletScript,
reloadSound UnityEngine.AudioSource
targetSound UnityEngine.AudioSource
targets List

Private Properties

Property Type Description
AddGunImpulse void
AddReloadImpulse void
CheckTargets void
Shoot void
ShootFast void
ShootHoming void
ShootRail void
TestScreenSpaceLockTargets void

Public Methods

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

Private Methods

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

Method Details

Awake() public method

public Awake ( ) : void
return void

CharacterIsInTargets() public method

public CharacterIsInTargets ( PlayerScript, otherCharacter ) : bool
otherCharacter PlayerScript,
return bool

DoHomingShot() public method

public DoHomingShot ( float spread, PlayerScript, target, float homing, bool doSound ) : void
spread float
target PlayerScript,
homing float
doSound bool
return void

DoRailShot() public method

public DoRailShot ( ) : void
return void

DoShot() public method

public DoShot ( float spread ) : void
spread float
return void

InstantReload() public method

public InstantReload ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

BarrelTransform public_oe property

public Transform BarrelTransform
return Transform

BurstCount public_oe property

public int BurstCount
return int

BurstSpread public_oe property

public float BurstSpread
return float

CannonChargeTime public_oe property

public float CannonChargeTime
return float

FireRailSound public_oe property

public AudioSource,UnityEngine FireRailSound
return UnityEngine.AudioSource

GunRotationSmoothingSpeed public_oe property

public float GunRotationSmoothingSpeed
return float

HeatAccuracyFudge public_oe property

public float HeatAccuracyFudge
return float

HeatAccuracyZoomedMultiplier public_oe property

public float HeatAccuracyZoomedMultiplier
return float

HeatCooldownScale public_oe property

public float HeatCooldownScale
return float

HeatPerShot public_oe property

public float HeatPerShot
return float

ReloadTime public_oe property

public float ReloadTime
return float

ReloaderTransform public_oe property

public Transform ReloaderTransform
return Transform

ShotCooldown public_oe property

public float ShotCooldown
return float

ShotCooldownZoomedMultiplier public_oe property

public float ShotCooldownZoomedMultiplier
return float

ShotgunBulletSpeedMultiplier public_oe property

public float ShotgunBulletSpeedMultiplier
return float

ShotgunHomingSpeed public_oe property

public float ShotgunHomingSpeed
return float

ShotgunSpread public_oe property

public float ShotgunSpread
return float

ShotgunSpreadBase public_oe property

public float ShotgunSpreadBase
return float

bulletPrefab public_oe property

public BulletScript, bulletPrefab
return BulletScript,

burstGunSound public_oe property

public AudioSource,UnityEngine burstGunSound
return UnityEngine.AudioSource

cannonBulletPrefab public_oe property

public BulletScript, cannonBulletPrefab
return BulletScript,

cannonIndicator public_oe property

public Texture2D,UnityEngine cannonIndicator
return UnityEngine.Texture2D

cannonInnerScale public_oe property

public AnimationCurve,UnityEngine cannonInnerScale
return UnityEngine.AnimationCurve

cannonOuterScale public_oe property

public AnimationCurve,UnityEngine cannonOuterScale
return UnityEngine.AnimationCurve

fastBulletPrefab public_oe property

public BulletScript, fastBulletPrefab
return BulletScript,

gun public_oe property

public Transform gun
return Transform

heat public_oe property

public float heat
return float

pepperGunSound public_oe property

public AudioSource,UnityEngine pepperGunSound
return UnityEngine.AudioSource

railCosmeticPrefab public_oe property

public BulletScript, railCosmeticPrefab
return BulletScript,

railPrefab public_oe property

public BulletScript, railPrefab
return BulletScript,

reloadSound public_oe property

public AudioSource,UnityEngine reloadSound
return UnityEngine.AudioSource

targetSound public_oe property

public AudioSource,UnityEngine targetSound
return UnityEngine.AudioSource

targets public_oe property

public List targets
return List