Funzione statica
Moderato
Navigation.GetRandomPointInNavigableRadius
Finds random, point in navigable space restricted to Radius around Origin. Resulting location is not tested for reachability from the Origin (only if map has a NavMesh)
Non ancora tradotto
Sintassi
Navigation.GetRandomPointInNavigableRadius(origin, radius)
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
origin
|
Vector | — | — |
radius
|
float | — | — |
Valore restituito
- Vector The random point