Follow
Follow(float, float, Vector3)
public void Follow(float speed, float stoppingDistance, Vector3 targetPosition) ;
説明
指定した位置へ近づく
パラメーター
| パラメーター名 | 説明 | 
|---|---|
| speed | 移動速度 | 
| stoppingDistance | 停止距離 | 
| targetPosition | 目標地点 | 
Follow(float, float, Transform)
public void Follow(float speed, float stoppingDistance, Transform target) ;
説明
指定したTransformの位置へ近づく
パラメーター
| パラメーター名 | 説明 | 
|---|---|
| speed | 移動速度 | 
| stoppingDistance | 停止距離 | 
| target | 目標地点 |