Escape

Escape(float, float, Vector3)

public void Escape(float speed, float distance, Vector3 targetPosition) ;

Description

Keep away from specified position

Parameters

Parameter Name Description
speed Movement speed
distance Distance away
targetPosition Target

Escape(float, float, Transform)

public void Escape(float speed, float distance, Transform target) ;

Description

Away from the specified Transform

Parameters

Parameter Name Description
speed Movement speed
distance Distance away
target Target