C# Class SW_Shoot, PathfindingToolUnity

Inheritance: StateWill
Datei anzeigen Open project: benjaml/PathfindingToolUnity Class Usage Examples

Public Properties

Property Type Description
dodge SW_Dodge,
shootCooldown float

Public Methods

Method Description
SW_Shoot ( int id, GameObject pBullet, float shootSpeed, SW_Dodge, dodgeState = null ) : System.Collections
execute ( ) : StateWill,
shoot ( ) : void
shootBullet ( GameObject targ ) : void

Method Details

SW_Shoot() public method

public SW_Shoot ( int id, GameObject pBullet, float shootSpeed, SW_Dodge, dodgeState = null ) : System.Collections
id int
pBullet GameObject
shootSpeed float
dodgeState SW_Dodge,
return System.Collections

execute() public method

public execute ( ) : StateWill,
return StateWill,

shoot() public method

public shoot ( ) : void
return void

shootBullet() public method

public shootBullet ( GameObject targ ) : void
targ GameObject
return void

Property Details

dodge public_oe property

public SW_Dodge, dodge
return SW_Dodge,

shootCooldown public_oe property

public float shootCooldown
return float