using UnityEngine; using Yarn.Unity; public class SkillFunctions : MonoBehaviour { [YarnFunction("top_skill")] public static string TopSkill(float a, string aName, float b, string bName, float c, string cName) { if (a >= b && a >= c) return aName; if (b >= a && b >= c) return bName; return cName; } }