C# Class Wander

Inheritance: Action
Show file Open project: marouen-lamiri/Second-Soul Class Usage Examples

Public Properties

Property Type Description
distanceOfCircle float
positionOfCircle Vector3
radiusOfCircle float
wanderingObject GameObject

Public Methods

Method Description
Start ( ) : void
obstacleInWay ( Vector3 position, float radius, Vector3 direction, float distance ) : bool
wanderForward ( ) : void
wanderInCircle ( ) : void

Method Details

Start() public method

public Start ( ) : void
return void

obstacleInWay() public method

public obstacleInWay ( Vector3 position, float radius, Vector3 direction, float distance ) : bool
position Vector3
radius float
direction Vector3
distance float
return bool

wanderForward() public method

public wanderForward ( ) : void
return void

wanderInCircle() public method

public wanderInCircle ( ) : void
return void

Property Details

distanceOfCircle public property

public float distanceOfCircle
return float

positionOfCircle public property

public Vector3 positionOfCircle
return Vector3

radiusOfCircle public property

public float radiusOfCircle
return float

wanderingObject public property

public GameObject wanderingObject
return GameObject