Exemplo n.º 1
0
 public static void DrawWireCube(this ILevelEditorGizmosDrawer drawer, Vector3 center, Vector3 size, Vector3 rotation, Color color)
 {
     drawer.DrawWireCube(center, size, Quaternion.Euler(rotation), color);
 }
Exemplo n.º 2
0
 public static void DrawWireCube(this ILevelEditorGizmosDrawer drawer, Vector3 center, Vector3 size, Quaternion rotation)
 {
     drawer.DrawWireCube(center, size, rotation, Color.white);
 }
Exemplo n.º 3
0
 public static void DrawWireCube(this ILevelEditorGizmosDrawer drawer, Vector3 center, Vector3 size, Color color)
 {
     drawer.DrawWireCube(center, size, Quaternion.identity, color);
 }
Exemplo n.º 4
0
 public void DrawLevelEditorGizmos(ILevelEditorGizmosDrawer drawer)
 {
     drawer.DrawWireCube(transform.position, Vector3.one, Color.green);
 }