added a path to SC102 from SC101
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user