Search Results for

    Show / Hide Table of Contents

    Method GetClosestPickupObject

    GetClosestPickupObject(Vector3, Single)

    Gets the closest Prop to a given position in the World associated with a Pickup.

    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 position to detect Props.

    Returns
    Type Description
    Prop
    Remarks

    Returns null if no Prop was in the given region.

    ☀
    ☾
    Back to top Copyright (C) 2015 crosire - zlib
    Generated with DocFX