C# Class ForgeZombieBullet

This is not optimized to be pooling, I recommend pooling your bullets rather than destroying it like so
Inheritance: MonoBehaviour
显示文件 Open project: drakelinglabs/unityarmada Class Usage Examples

Public Properties

Property Type Description
BulletDamage int
Lifespan float

Public Methods

Method Description
Setup ( ForgeZombie, hitTarget, float lifespan ) : void
Update ( ) : void

Method Details

Setup() public method

public Setup ( ForgeZombie, hitTarget, float lifespan ) : void
hitTarget ForgeZombie,
lifespan float
return void

Update() public method

public Update ( ) : void
return void

Property Details

BulletDamage public_oe property

public int BulletDamage
return int

Lifespan public_oe property

public float Lifespan
return float