C# Class Assets.Scripts.Weapons.BaseGun

Inheritance: UnityEngine.MonoBehaviour
Mostra file Open project: EricFreeman/DungeonGame Class Usage Examples

Public Properties

Property Type Description
AmmunitionType AmmoType
AttackSound List
Bullet UnityEngine.GameObject
IsMelee bool
ShotDelay float
Tip UnityEngine.Transform

Public Methods

Method Description
Fire ( ) : void
MeleeAttack ( ) : void
RangedAttack ( ) : void
Start ( ) : void

Private Methods

Method Description
CanFire ( ) : bool

Method Details

Fire() public method

public Fire ( ) : void
return void

MeleeAttack() public method

public MeleeAttack ( ) : void
return void

RangedAttack() public method

public RangedAttack ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Property Details

AmmunitionType public_oe property

public AmmoType AmmunitionType
return AmmoType

AttackSound public_oe property

public List AttackSound
return List

Bullet public_oe property

public GameObject,UnityEngine Bullet
return UnityEngine.GameObject

IsMelee public_oe property

public bool IsMelee
return bool

ShotDelay public_oe property

public float ShotDelay
return float

Tip public_oe property

public Transform,UnityEngine Tip
return UnityEngine.Transform