C# Class Wander

Inheritance: Action
显示文件 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_oe property

public float distanceOfCircle
return float

positionOfCircle public_oe property

public Vector3 positionOfCircle
return Vector3

radiusOfCircle public_oe property

public float radiusOfCircle
return float

wanderingObject public_oe property

public GameObject wanderingObject
return GameObject