Class SonsTools
Assembly: SonsSdk.dll
public static class SonsTools
Methods
Get a vector3 position in from of the player
Declaration
public static Vector3 GetPositionInFrontOfPlayer(float distance)
Parameters
Type |
Name |
Description |
float |
distance |
|
Returns
Get a vector3 position in from of the player
Declaration
public static Vector3 GetPositionInFrontOfPlayer(float distance, float height)
Parameters
Returns
Toggle menu mode. Stops all keyboard inputs and shows the cursor.
Declaration
public static void MenuMode(bool enable)
Parameters
Type |
Name |
Description |
bool |
enable |
|
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