C# Class Poulpe1, PathfindingToolUnity

Inheritance: MonoBehaviour
Exibir arquivo Open project: benjaml/PathfindingToolUnity

Public Properties

Property Type Description
closeEnoughRange float
patrol Vector3[]
road List
speed float
target GameObject
temp GameObject[]

Public Methods

Method Description
OnCollisionEnter ( Collision collision ) : void
OnTriggerEnter ( Collider collider ) : void
OnTriggerStay ( Collider collider ) : void
Shoot ( GameObject hit ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
CalcShootAngle ( GameObject hit ) : Vector3

Method Details

OnCollisionEnter() public method

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

OnTriggerEnter() public method

public OnTriggerEnter ( Collider collider ) : void
collider Collider
return void

OnTriggerStay() public method

public OnTriggerStay ( Collider collider ) : void
collider Collider
return void

Shoot() public method

public Shoot ( GameObject hit ) : void
hit GameObject
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

closeEnoughRange public_oe property

public float closeEnoughRange
return float

patrol public_oe property

public Vector3[] patrol
return Vector3[]

road public_oe property

public List road
return List

speed public_oe property

public float speed
return float

target public_oe property

public GameObject target
return GameObject

temp public_oe property

public GameObject[] temp
return GameObject[]