C# Class PlayerShooting, Ninja_Dudes

Inheritance: MonoBehaviour
Show file Open project: GDCASU/Ninja_Dudes Class Usage Examples

Public Properties

Property Type Description
PlayerNumber int
cooldownTimeSecs float
muzzle GameObject
projectile GameObject
speed float

Public Methods

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

Method Details

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

fire() public method

public fire ( ) : void
return void

Property Details

PlayerNumber public property

public int PlayerNumber
return int

cooldownTimeSecs public property

public float cooldownTimeSecs
return float

muzzle public property

public GameObject muzzle
return GameObject

projectile public property

public GameObject projectile
return GameObject

speed public property

public float speed
return float