C# Class EnemyGun, UrsaMajor

Inheritance: MonoBehaviour
Show file Open project: BJarv/UrsaMajor Class Usage Examples

Public Properties

Property Type Description
bullet GameObject
bulletSpeed float
shootCD float
shotParticles GameObject

Public Methods

Method Description
isShooting ( bool x ) : void
shootOn ( ) : void

Protected Methods

Method Description
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
shootBullet ( ) : GameObject

Method Details

Start() protected method

protected Start ( ) : void
return void

Update() protected method

protected Update ( ) : void
return void

isShooting() public method

public isShooting ( bool x ) : void
x bool
return void

shootOn() public method

public shootOn ( ) : void
return void

Property Details

bullet public property

public GameObject bullet
return GameObject

bulletSpeed public property

public float bulletSpeed
return float

shootCD public property

public float shootCD
return float

shotParticles public property

public GameObject shotParticles
return GameObject