C# Class ShootInfo, urban-survivors

Inheritance: MonoBehaviour
Datei anzeigen Open project: exdev/urban-survivors Class Usage Examples

Public Properties

Property 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

Property Type Description
activeReloadCounter float
bullets int
emitter Emitter,
remainBullets int

Public Methods

Method 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 method

public ActiveReload ( bool _triggered ) : void
_triggered bool
return void

AddBullets() public method

public AddBullets ( int _bullets ) : void
_bullets int
return void

AdjustAnim() public method

public AdjustAnim ( Animation _anim ) : void
_anim Animation
return void

CalcActiveReloadZone() public method

public CalcActiveReloadZone ( ) : Vector2
return Vector2

CurBullets() public method

public CurBullets ( ) : int
return int

Fire() public method

public Fire ( ) : void
return void

NoBulletForReloading() public method

public NoBulletForReloading ( ) : bool
return bool

OutOfAmmo() public method

public OutOfAmmo ( ) : bool
return bool

Reload() public method

public Reload ( ) : void
return void

RemainBullets() public method

public RemainBullets ( ) : int
return int

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

isAmmoFull() public method

public isAmmoFull ( ) : bool
return bool

Property Details

activeReloadCounter protected_oe property

protected float activeReloadCounter
return float

activeReloadTime public_oe property

public float activeReloadTime
return float

anchor public_oe property

public Transform anchor
return Transform

arDamageIncrease public_oe property

public float arDamageIncrease
return float

arLengthInPercentage public_oe property

public float arLengthInPercentage
return float

arRangeInPercentage public_oe property

public Vector2 arRangeInPercentage
return Vector2

arReloadSpeed public_oe property

public float arReloadSpeed
return float

arShootSpeed public_oe property

public float arShootSpeed
return float

bullet public_oe property

public GameObject bullet
return GameObject

bullets protected_oe property

protected int bullets
return int

capacity public_oe property

public int capacity
return int

emitter protected_oe property

protected Emitter, emitter
return Emitter,

reloadAnim public_oe property

public string reloadAnim
return string

reloadSpeed public_oe property

public float reloadSpeed
return float

remainBullets protected_oe property

protected int remainBullets
return int

shootAnim public_oe property

public string shootAnim
return string

shootSpeed public_oe property

public float shootSpeed
return float

snd_fire public_oe property

public AudioClip,UnityEngine snd_fire
return UnityEngine.AudioClip

snd_onreload public_oe property

public AudioClip,UnityEngine snd_onreload
return UnityEngine.AudioClip