Class DebugTools
Assembly: SonsSdk.dll
Constructors
Declaration
Methods
Declaration
public static GameObject CreatePrimitive(PrimitiveType type, Vector3? pos = null, Color? color = null)
Parameters
| Type |
Name |
Description |
| PrimitiveType |
type |
|
| Vector3? |
pos |
|
| Color? |
color |
|
Returns
| Type |
Description |
| GameObject |
|
Declaration
public static void DrawGlLine(Vector3 start, Vector3 end, float thickness = 1)
Parameters
| Type |
Name |
Description |
| Vector3 |
start |
|
| Vector3 |
end |
|
| float |
thickness |
|
Declaration
public static Material GetHdrpMaterial(Color? color = null)
Parameters
| Type |
Name |
Description |
| Color? |
color |
|
Returns
| Type |
Description |
| Material |
|