Search Results for

    Class SonsTools

    Inheritance
    object
    SonsTools
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: SonsSdk
    Assembly: SonsSdk.dll
    Syntax
    public static class SonsTools

    Methods

    GetPositionInFrontOfPlayer(float)

    Get a vector3 position in from of the player

    Declaration
    public static Vector3 GetPositionInFrontOfPlayer(float distance)
    Parameters
    Type Name Description
    float distance
    Returns
    Type Description
    Vector3

    GetPositionInFrontOfPlayer(float, float)

    Get a vector3 position in from of the player

    Declaration
    public static Vector3 GetPositionInFrontOfPlayer(float distance, float height)
    Parameters
    Type Name Description
    float distance
    float height
    Returns
    Type Description
    Vector3

    MenuMode(bool)

    Toggle menu mode. Stops all keyboard inputs and shows the cursor.

    Declaration
    public static void MenuMode(bool enable)
    Parameters
    Type Name Description
    bool enable

    ShowMessage(string, float)

    Show a message in the bottom left corner of the screen for a certain duration.

    Declaration
    public static void ShowMessage(string message, float duration = 3)
    Parameters
    Type Name Description
    string message
    float duration