public static void DrawMesh(Mesh mesh, Vector3 position, Quaternion rotation) { Vector3 one = Vector3.one; Gizmos.DrawMesh(mesh, position, rotation, one); }
public static void DrawMesh(Mesh mesh, [DefaultValue("Vector3.zero")] Vector3 position, [DefaultValue("Quaternion.identity")] Quaternion rotation, [DefaultValue("Vector3.one")] Vector3 scale) { Gizmos.DrawMesh(mesh, -1, position, rotation, scale); }