Escape
Escape(float, float, Vector3)
public void Escape(float speed, float distance, Vector3 targetPosition) ;
説明
指定した位置から遠ざかる
パラメーター
| パラメーター名 | 説明 |
|---|---|
| speed | 移動速度 |
| distance | 遠ざかる距離 |
| targetPosition | 対象 |
Escape(float, float, Transform)
public void Escape(float speed, float distance, Transform target) ;
説明
指定したTransformから遠ざかる
パラメーター
| パラメーター名 | 説明 |
|---|---|
| speed | 移動速度 |
| distance | 遠ざかる距離 |
| target | 対象 |