C# Class Poulpe, PathfindingToolUnity

Inheritance: MonoBehaviour
Show file Open project: benjaml/PathfindingToolUnity

Public Properties

Property Type Description
bullet GameObject
destination Vector3
lastTargetPos Vector3
startShoot float
target GameObject
targetPos Vector3
targets List
thereIsBullet bool

Public Methods

Method Description
Instantiation ( ) : GameObject
OnCollisionEnter ( Collision collision ) : void
OnTriggerStay ( Collider collider ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
CanDogge ( ) : bool
CanShoot ( ) : bool
CoolDownDelay ( ) : bool
EnemyNotSpotted ( ) : bool
EnemySpotted ( ) : bool
HasDogge ( ) : bool

Method Details

Instantiation() public method

public Instantiation ( ) : GameObject
return GameObject

OnCollisionEnter() public method

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

OnTriggerStay() public method

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

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

bullet public property

public GameObject bullet
return GameObject

destination public property

public Vector3 destination
return Vector3

lastTargetPos public property

public Vector3 lastTargetPos
return Vector3

startShoot public property

public float startShoot
return float

target public property

public GameObject target
return GameObject

targetPos public property

public Vector3 targetPos
return Vector3

targets public property

public List targets
return List

thereIsBullet public property

public bool thereIsBullet
return bool