Follow

Follow(float, float, Vector3)

Obsolete public bool Follow(float speed, float stoppingDistance, Vector3 targetPosition) ;

Description

It approaches the specified position

Parameters

Parameter Name Description
speed Speed to move
stoppingDistance Stopping distance
targetPosition Objective point

Returns

Returns true if the destination setting is successful. Otherwise false.

Follow(float, float, Transform)

Obsolete public bool Follow(float speed, float stoppingDistance, Transform target) ;

Description

Approach to the position of the specified Transform

Parameters

Parameter Name Description
speed Speed to move
stoppingDistance Stopping distance
target Objective point

Returns

Returns true if the destination setting is successful. Otherwise false.