C# Class ShellShock.Weapon

Inheritance: UnityEngine.MonoBehaviour
Show file Open project: GREEDYHD/ShellShock Class Usage Examples

Public Properties

Property Type Description
hasInfiniteAmmo bool
mProjectile UnityEngine.GameObject

Protected Properties

Property Type Description
mAmmoMax int
mAmmoRemaining int
mChargeTime float
mCurrentFireTime float
mCurrentReloadTime float
mDamage int
mFireRate float
mMuzzleVelocity float
mReloadTime float
mShootDirection UnityEngine.Vector2
mSpread float
mSpreadAngle float

Public Methods

Method Description
Shoot ( Vector2 dir, int id ) : bool

Method Details

Shoot() public method

public Shoot ( Vector2 dir, int id ) : bool
dir UnityEngine.Vector2
id int
return bool

Property Details

hasInfiniteAmmo public property

public bool hasInfiniteAmmo
return bool

mAmmoMax protected property

protected int mAmmoMax
return int

mAmmoRemaining protected property

protected int mAmmoRemaining
return int

mChargeTime protected property

protected float mChargeTime
return float

mCurrentFireTime protected property

protected float mCurrentFireTime
return float

mCurrentReloadTime protected property

protected float mCurrentReloadTime
return float

mDamage protected property

protected int mDamage
return int

mFireRate protected property

protected float mFireRate
return float

mMuzzleVelocity protected property

protected float mMuzzleVelocity
return float

mProjectile public property

public GameObject,UnityEngine mProjectile
return UnityEngine.GameObject

mReloadTime protected property

protected float mReloadTime
return float

mShootDirection protected property

protected Vector2,UnityEngine mShootDirection
return UnityEngine.Vector2

mSpread protected property

protected float mSpread
return float

mSpreadAngle protected property

protected float mSpreadAngle
return float