StorySystem

This commit is contained in:
SoulliesOfficial
2026-07-07 01:28:27 -04:00
parent d031afd075
commit 7b7d069b84
105 changed files with 4852 additions and 2734 deletions

View File

@@ -0,0 +1,30 @@
using UnityEngine;
using Yarn.Unity;
namespace Ichni.Story.YarnFunctions
{
public static class GeneralFunctions
{
[YarnCommand("log")]
public static void Log(string message, string logType)
{
logType = logType.ToLower();
switch (logType)
{
case "info":
Debug.Log(message);
break;
case "warning":
Debug.LogWarning(message);
break;
case "error":
Debug.LogError(message);
break;
default:
Debug.Log(message);
break;
}
}
}
}