C# Class ShootInfo, urban-survivors

Inheritance: MonoBehaviour
Afficher le fichier Open project: exdev/urban-survivors Class Usage Examples

Méthodes publiques

Свойство Type Description
activeReloadTime float
anchor Transform
arDamageIncrease float
arLengthInPercentage float
arRangeInPercentage Vector2
arReloadSpeed float
arShootSpeed float
bullet GameObject
capacity int
reloadAnim string
reloadSpeed float
shootAnim string
shootSpeed float
snd_fire UnityEngine.AudioClip
snd_onreload UnityEngine.AudioClip

Protected Properties

Свойство Type Description
activeReloadCounter float
bullets int
emitter Emitter,
remainBullets int

Méthodes publiques

Méthode Description
ActiveReload ( bool _triggered ) : void
AddBullets ( int _bullets ) : void
AdjustAnim ( Animation _anim ) : void
CalcActiveReloadZone ( ) : Vector2
CurBullets ( ) : int
Fire ( ) : void
NoBulletForReloading ( ) : bool
OutOfAmmo ( ) : bool
Reload ( ) : void
RemainBullets ( ) : int
Start ( ) : void
Update ( ) : void
isAmmoFull ( ) : bool

Method Details

ActiveReload() public méthode

public ActiveReload ( bool _triggered ) : void
_triggered bool
Résultat void

AddBullets() public méthode

public AddBullets ( int _bullets ) : void
_bullets int
Résultat void

AdjustAnim() public méthode

public AdjustAnim ( Animation _anim ) : void
_anim Animation
Résultat void

CalcActiveReloadZone() public méthode

public CalcActiveReloadZone ( ) : Vector2
Résultat Vector2

CurBullets() public méthode

public CurBullets ( ) : int
Résultat int

Fire() public méthode

public Fire ( ) : void
Résultat void

NoBulletForReloading() public méthode

public NoBulletForReloading ( ) : bool
Résultat bool

OutOfAmmo() public méthode

public OutOfAmmo ( ) : bool
Résultat bool

Reload() public méthode

public Reload ( ) : void
Résultat void

RemainBullets() public méthode

public RemainBullets ( ) : int
Résultat int

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

isAmmoFull() public méthode

public isAmmoFull ( ) : bool
Résultat bool

Property Details

activeReloadCounter protected_oe property

protected float activeReloadCounter
Résultat float

activeReloadTime public_oe property

public float activeReloadTime
Résultat float

anchor public_oe property

public Transform anchor
Résultat Transform

arDamageIncrease public_oe property

public float arDamageIncrease
Résultat float

arLengthInPercentage public_oe property

public float arLengthInPercentage
Résultat float

arRangeInPercentage public_oe property

public Vector2 arRangeInPercentage
Résultat Vector2

arReloadSpeed public_oe property

public float arReloadSpeed
Résultat float

arShootSpeed public_oe property

public float arShootSpeed
Résultat float

bullet public_oe property

public GameObject bullet
Résultat GameObject

bullets protected_oe property

protected int bullets
Résultat int

capacity public_oe property

public int capacity
Résultat int

emitter protected_oe property

protected Emitter, emitter
Résultat Emitter,

reloadAnim public_oe property

public string reloadAnim
Résultat string

reloadSpeed public_oe property

public float reloadSpeed
Résultat float

remainBullets protected_oe property

protected int remainBullets
Résultat int

shootAnim public_oe property

public string shootAnim
Résultat string

shootSpeed public_oe property

public float shootSpeed
Résultat float

snd_fire public_oe property

public AudioClip,UnityEngine snd_fire
Résultat UnityEngine.AudioClip

snd_onreload public_oe property

public AudioClip,UnityEngine snd_onreload
Résultat UnityEngine.AudioClip