C# Class Will_IA_m, PathfindingToolUnity

Inheritance: MonoBehaviour
显示文件 Open project: benjaml/PathfindingToolUnity Class Usage Examples

Public Properties

Property Type Description
currentTarget GameObject
isStrafing bool
targets List

Public Methods

Method Description
OnCollisionEnter ( Collision col ) : void
Start ( ) : void
Update ( ) : void
shoot ( ) : void
shootBullet ( GameObject targ ) : void
strafe ( ) : void
targetUpdate ( ) : void

Private Methods

Method Description
startStrafe ( ) : IEnumerator

Method Details

OnCollisionEnter() public method

public OnCollisionEnter ( Collision col ) : void
col Collision
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

shoot() public method

public shoot ( ) : void
return void

shootBullet() public method

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

strafe() public method

public strafe ( ) : void
return void

targetUpdate() public method

public targetUpdate ( ) : void
return void

Property Details

currentTarget public_oe property

public GameObject currentTarget
return GameObject

isStrafing public_oe property

public bool isStrafing
return bool

targets public_oe property

public List targets
return List