C# Class Poulpe, PathfindingToolUnity

Inheritance: MonoBehaviour
Exibir arquivo 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_oe property

public GameObject bullet
return GameObject

destination public_oe property

public Vector3 destination
return Vector3

lastTargetPos public_oe property

public Vector3 lastTargetPos
return Vector3

startShoot public_oe property

public float startShoot
return float

target public_oe property

public GameObject target
return GameObject

targetPos public_oe property

public Vector3 targetPos
return Vector3

targets public_oe property

public List targets
return List

thereIsBullet public_oe property

public bool thereIsBullet
return bool