bugfixes
This commit is contained in:
@@ -26,8 +26,11 @@ namespace SplashEdit.RuntimeCode
|
||||
|
||||
void OnDrawGizmos()
|
||||
{
|
||||
var exporter = FindFirstObjectByType<PSXSceneExporter>();
|
||||
if (exporter != null && !exporter.PreviewRoomsPortals) return;
|
||||
|
||||
Gizmos.color = new Color(1f, 0.5f, 0f, 0.3f);
|
||||
Gizmos.matrix = transform.localToWorldMatrix;
|
||||
Gizmos.matrix = transform.localToWorldMatrix;
|
||||
Gizmos.DrawCube(Vector3.zero, new Vector3(PortalSize.x, PortalSize.y, 0.05f));
|
||||
Gizmos.color = new Color(1f, 0.5f, 0f, 0.8f);
|
||||
Gizmos.DrawWireCube(Vector3.zero, new Vector3(PortalSize.x, PortalSize.y, 0.05f));
|
||||
|
||||
Reference in New Issue
Block a user