예제 #1
0
 static void DrawGizmosActive(Gizmosable g, GizmoType gizmoType)
 {
     Gizmos.color = Color.magenta * 0.2f;
     Gizmos.DrawCube(g.transform.position, g.transform.localScale);
 }
예제 #2
0
 static void DrawGizmos(Gizmosable g, GizmoType gizmoType)
 {
     Gizmos.color = Color.green;
     Gizmos.DrawWireCube(g.transform.position, g.transform.localScale);
 }