MoveToRandomPosition
MoveToRandomPosition(Vector3, float, float, float)
public void MoveToRandomPosition(Vector3 center, float speed, float radius, float stoppingDistance) ;
説明
指定半径内のランダムな位置に向かって移動する
パラメーター
| パラメーター名 | 説明 |
|---|---|
| center | 中心 |
| speed | 移動速度 |
| radius | 開始位置からの半径 |
| stoppingDistance | 停止距離 |
MoveToRandomPosition(float, float, float)
public void MoveToRandomPosition(float speed, float radius, float stoppingDistance) ;
説明
開始位置から指定半径内のランダムな位置に向かって移動する
パラメーター
| パラメーター名 | 説明 |
|---|---|
| speed | 移動速度 |
| radius | 開始位置からの半径 |
| stoppingDistance | 停止距離 |