Method GetClosestPickupObject
GetClosestPickupObject(Vector3, Single)
Declaration
public static Prop GetClosestPickupObject(Vector3 position, float radius)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | position | The position to find the nearest Prop. |
| System.Single | radius | The maximum distance from the |
Returns
| Type | Description |
|---|---|
| Prop |
Remarks
Returns null if no Prop was in the given region.