@@ -6,25 +6,25 @@ namespace MccDev260.GizmoTool
66{
77 internal static class Gizmos
88 {
9- public static void DrawSphere ( Vector3 worldPos , float radius , Color colour )
9+ internal static void DrawSphere ( Vector3 worldPos , float radius , Color colour )
1010 {
1111 UnityEngine . Gizmos . color = colour ;
1212 UnityEngine . Gizmos . DrawSphere ( worldPos , radius ) ;
1313 }
1414
15- public static void DrawWireSphere ( Vector3 worldPos , float radius , Color colour )
15+ internal static void DrawWireSphere ( Vector3 worldPos , float radius , Color colour )
1616 {
1717 UnityEngine . Gizmos . color = colour ;
1818 UnityEngine . Gizmos . DrawWireSphere ( worldPos , radius ) ;
1919 }
2020
21- public static void DrawCube ( Vector3 position , Vector3 size , Color colour )
21+ internal static void DrawCube ( Vector3 position , Vector3 size , Color colour )
2222 {
2323 UnityEngine . Gizmos . color = colour ;
2424 UnityEngine . Gizmos . DrawCube ( position , size ) ;
2525 }
2626
27- public static void DrawWireCube ( Vector3 position , Vector3 size , Color colour )
27+ internal static void DrawWireCube ( Vector3 position , Vector3 size , Color colour )
2828 {
2929 UnityEngine . Gizmos . color = colour ;
3030 UnityEngine . Gizmos . DrawWireCube ( position , size ) ;
@@ -38,30 +38,30 @@ public static void DrawWireCube(Vector3 position, Vector3 size, Color colour)
3838 /// <param name="position">Location of the icon in world space.</param>
3939 /// <param name="fileName">File should be placed in the Assets/Gizmos folder.</param>
4040 /// <param name="allowScaling">Determines if the icon is allowed to be scaled.</param>
41- public static void DrawIcon ( Vector3 position , string fileName , bool allowScaling , Color colour )
41+ internal static void DrawIcon ( Vector3 position , string fileName , bool allowScaling , Color colour )
4242 {
4343 UnityEngine . Gizmos . DrawIcon ( position , fileName , allowScaling , colour ) ;
4444 }
4545
46- public static void DrawMesh ( Mesh mesh , Vector3 position , Quaternion rotation , Vector3 scale , Color colour )
46+ internal static void DrawMesh ( Mesh mesh , Vector3 position , Quaternion rotation , Vector3 scale , Color colour )
4747 {
4848 UnityEngine . Gizmos . color = colour ;
4949 UnityEngine . Gizmos . DrawMesh ( mesh , position , rotation , scale ) ;
5050 }
5151
52- public static void DrawWireMesh ( Mesh mesh , Vector3 position , Quaternion rotation , Vector3 scale , Color colour )
52+ internal static void DrawWireMesh ( Mesh mesh , Vector3 position , Quaternion rotation , Vector3 scale , Color colour )
5353 {
5454 UnityEngine . Gizmos . color = colour ;
5555 UnityEngine . Gizmos . DrawWireMesh ( mesh , position , rotation , scale ) ;
5656 }
5757
58- public static void DrawLine ( Vector3 startPos , Vector3 endPos , Color colour )
58+ internal static void DrawLine ( Vector3 startPos , Vector3 endPos , Color colour )
5959 {
6060 UnityEngine . Gizmos . color = colour ;
6161 UnityEngine . Gizmos . DrawLine ( startPos , endPos ) ;
6262 }
6363
64- public static void DrawLineList ( Vector3 [ ] points , Color colour )
64+ internal static void DrawLineList ( Vector3 [ ] points , Color colour )
6565 {
6666 UnityEngine . Gizmos . color = colour ;
6767 try
@@ -74,13 +74,13 @@ public static void DrawLineList(Vector3[] points, Color colour)
7474 }
7575 }
7676
77- public static void DrawLineStrip ( Vector3 [ ] points , Color colour , bool looped )
77+ internal static void DrawLineStrip ( Vector3 [ ] points , Color colour , bool looped )
7878 {
7979 UnityEngine . Gizmos . color = colour ;
8080 UnityEngine . Gizmos . DrawLineStrip ( points , looped ) ;
8181 }
8282
83- public static void DrawGuiTexture ( Rect screenRect , Texture texture , Material mat = null )
83+ internal static void DrawGuiTexture ( Rect screenRect , Texture texture , Material mat = null )
8484 {
8585 UnityEngine . Gizmos . DrawGUITexture ( screenRect , texture , mat ) ;
8686 }
0 commit comments