module instantiation log type
This commit is contained in:
@@ -105,7 +105,7 @@ namespace EscapeRoomEngine.Engine.Runtime.Modules
|
|||||||
|
|
||||||
internal virtual void InstantiateModule(Transform parent)
|
internal virtual void InstantiateModule(Transform parent)
|
||||||
{
|
{
|
||||||
Logger.Log($"Instantiating {this}", LogType.RoomGeneration);
|
Logger.Log($"Instantiating {this}", LogType.ModuleInstantiation);
|
||||||
|
|
||||||
State = Object.Instantiate(description.modulePrefab, parent, false);
|
State = Object.Instantiate(description.modulePrefab, parent, false);
|
||||||
State.transform.localPosition = new Vector3(srDimensions.x + .5f, 0, srDimensions.z + .5f);
|
State.transform.localPosition = new Vector3(srDimensions.x + .5f, 0, srDimensions.z + .5f);
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ namespace EscapeRoomEngine.Engine.Runtime.Utilities
|
|||||||
{
|
{
|
||||||
Important,
|
Important,
|
||||||
ModulePlacement,
|
ModulePlacement,
|
||||||
|
ModuleInstantiation,
|
||||||
PassageConnection,
|
PassageConnection,
|
||||||
RoomGeneration,
|
RoomGeneration,
|
||||||
RequirementResolution,
|
RequirementResolution,
|
||||||
|
|||||||
Reference in New Issue
Block a user