剧情+对话完善

This commit is contained in:
SoulliesOfficial
2026-07-21 15:24:42 -04:00
parent 8f230831e9
commit 810d019619
161 changed files with 7271 additions and 1893 deletions

View File

@@ -6,11 +6,9 @@ namespace Ichni.Story.YarnFunctions
public static class GeneralFunctions
{
[YarnCommand("log")]
public static void Log(string message, string logType)
public static void Log(string message, string logType = "info")
{
logType = logType.ToLower();
switch (logType)
switch (logType?.ToLowerInvariant())
{
case "info":
Debug.Log(message);
@@ -27,4 +25,4 @@ namespace Ichni.Story.YarnFunctions
}
}
}
}
}