remove some unused imports and code
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using EscapeRoomEngine.Engine.Runtime.Modules;
|
||||
using EscapeRoomEngine.Engine.Runtime.Requirements;
|
||||
using UnityEngine;
|
||||
using Logger = EscapeRoomEngine.Engine.Runtime.Utilities.Logger;
|
||||
using LogType = EscapeRoomEngine.Engine.Runtime.Utilities.LogType;
|
||||
@@ -185,8 +184,14 @@ namespace EscapeRoomEngine.Engine.Runtime
|
||||
if(zMax == -1)
|
||||
zMax = Utilities.Utilities.RandomInclusive(Math.Max(position.y + 1, zMin + minSize.y), availableSpace.y);
|
||||
|
||||
var dimensions = new Dimensions(xMax - xMin, zMax - zMin, xMin, zMin);
|
||||
|
||||
var dimensions = new Dimensions
|
||||
{
|
||||
width = xMax - xMin,
|
||||
length = zMax - zMin,
|
||||
x = xMin,
|
||||
z = zMin
|
||||
};
|
||||
|
||||
Logger.Log($"Generated space dimensions {dimensions} from entrance position {position}", LogType.RoomGeneration);
|
||||
|
||||
return dimensions;
|
||||
|
||||
Reference in New Issue
Block a user