C# Class PlayerShootingScript, WaitingForHorus

Inheritance: MonoBehaviour
Afficher le fichier Open project: merveilles/WaitingForHorus Class Usage Examples

Méthodes publiques

Свойство 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

Свойство Type Description
AddGunImpulse void
AddReloadImpulse void
CheckTargets void
Shoot void
ShootFast void
ShootHoming void
ShootRail void
TestScreenSpaceLockTargets void

Méthodes publiques

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

Private Methods

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

Method Details

Awake() public méthode

public Awake ( ) : void
Résultat void

CharacterIsInTargets() public méthode

public CharacterIsInTargets ( PlayerScript, otherCharacter ) : bool
otherCharacter PlayerScript,
Résultat bool

DoHomingShot() public méthode

public DoHomingShot ( float spread, PlayerScript, target, float homing, bool doSound ) : void
spread float
target PlayerScript,
homing float
doSound bool
Résultat void

DoRailShot() public méthode

public DoRailShot ( ) : void
Résultat void

DoShot() public méthode

public DoShot ( float spread ) : void
spread float
Résultat void

InstantReload() public méthode

public InstantReload ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

BarrelTransform public_oe property

public Transform BarrelTransform
Résultat Transform

BurstCount public_oe property

public int BurstCount
Résultat int

BurstSpread public_oe property

public float BurstSpread
Résultat float

CannonChargeTime public_oe property

public float CannonChargeTime
Résultat float

FireRailSound public_oe property

public AudioSource,UnityEngine FireRailSound
Résultat UnityEngine.AudioSource

GunRotationSmoothingSpeed public_oe property

public float GunRotationSmoothingSpeed
Résultat float

HeatAccuracyFudge public_oe property

public float HeatAccuracyFudge
Résultat float

HeatAccuracyZoomedMultiplier public_oe property

public float HeatAccuracyZoomedMultiplier
Résultat float

HeatCooldownScale public_oe property

public float HeatCooldownScale
Résultat float

HeatPerShot public_oe property

public float HeatPerShot
Résultat float

ReloadTime public_oe property

public float ReloadTime
Résultat float

ReloaderTransform public_oe property

public Transform ReloaderTransform
Résultat Transform

ShotCooldown public_oe property

public float ShotCooldown
Résultat float

ShotCooldownZoomedMultiplier public_oe property

public float ShotCooldownZoomedMultiplier
Résultat float

ShotgunBulletSpeedMultiplier public_oe property

public float ShotgunBulletSpeedMultiplier
Résultat float

ShotgunHomingSpeed public_oe property

public float ShotgunHomingSpeed
Résultat float

ShotgunSpread public_oe property

public float ShotgunSpread
Résultat float

ShotgunSpreadBase public_oe property

public float ShotgunSpreadBase
Résultat float

bulletPrefab public_oe property

public BulletScript, bulletPrefab
Résultat BulletScript,

burstGunSound public_oe property

public AudioSource,UnityEngine burstGunSound
Résultat UnityEngine.AudioSource

cannonBulletPrefab public_oe property

public BulletScript, cannonBulletPrefab
Résultat BulletScript,

cannonIndicator public_oe property

public Texture2D,UnityEngine cannonIndicator
Résultat UnityEngine.Texture2D

cannonInnerScale public_oe property

public AnimationCurve,UnityEngine cannonInnerScale
Résultat UnityEngine.AnimationCurve

cannonOuterScale public_oe property

public AnimationCurve,UnityEngine cannonOuterScale
Résultat UnityEngine.AnimationCurve

fastBulletPrefab public_oe property

public BulletScript, fastBulletPrefab
Résultat BulletScript,

gun public_oe property

public Transform gun
Résultat Transform

heat public_oe property

public float heat
Résultat float

pepperGunSound public_oe property

public AudioSource,UnityEngine pepperGunSound
Résultat UnityEngine.AudioSource

railCosmeticPrefab public_oe property

public BulletScript, railCosmeticPrefab
Résultat BulletScript,

railPrefab public_oe property

public BulletScript, railPrefab
Résultat BulletScript,

reloadSound public_oe property

public AudioSource,UnityEngine reloadSound
Résultat UnityEngine.AudioSource

targetSound public_oe property

public AudioSource,UnityEngine targetSound
Résultat UnityEngine.AudioSource

targets public_oe property

public List targets
Résultat List