button and symbol events, PuzzleDetail log type

This commit is contained in:
2022-11-21 20:36:41 +01:00
parent dbcb9c0a24
commit 4aa429d87d
6 changed files with 140 additions and 54 deletions

View File

@@ -10,7 +10,8 @@ namespace EscapeRoomEngine.Engine.Runtime.Utilities
PassageConnection,
RoomGeneration,
RequirementResolution,
PuzzleFlow
PuzzleFlow,
PuzzleDetail
}
public class Logger : MonoBehaviour
@@ -31,7 +32,7 @@ namespace EscapeRoomEngine.Engine.Runtime.Utilities
public bool loggingEnabled;
public List<LogType> typeFilter;
public static void Log(string message, LogType type = LogType.Important)
public static void Log(string message, LogType type)
{
if (DefaultLogger.loggingEnabled && DefaultLogger.typeFilter.Contains(type))
{