From 1a94838cd9725bcfafecf83a28e998574037556e Mon Sep 17 00:00:00 2001 From: blank3times <105398129+blank3times@users.noreply.github.com> Date: Mon, 22 Jan 2024 22:57:52 -0800 Subject: [PATCH] Update HoleInOne.cs --- Assets/Scripts/Games/HoleInOne/HoleInOne.cs | 24 ++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/Assets/Scripts/Games/HoleInOne/HoleInOne.cs b/Assets/Scripts/Games/HoleInOne/HoleInOne.cs index 3e86945f7..007c27bb1 100644 --- a/Assets/Scripts/Games/HoleInOne/HoleInOne.cs +++ b/Assets/Scripts/Games/HoleInOne/HoleInOne.cs @@ -18,7 +18,14 @@ namespace HeavenStudio.Games.Loaders { return new Minigame("holeInOne", "Hole in One", "6ab99e", false, false, new List() { - } + // new GameAction("testanims", "Test Animation") + // { + // function = delegate { HoleInOne.instance.DoTestAnim(eventCaller.currentEntity.beat); }, + // } + }, + new List() { "rvl", "normal" }, + "rvlgolf", "en", + new List() { } ); } } @@ -30,5 +37,20 @@ namespace HeavenStudio.Games /// Minigame inherits directly from MonoBehaviour, and adds Heaven Studio specific methods to override. public class HoleInOne : Minigame { + // public Animator Monkey; + + // public static HoleInOne instance; + + // public void DoTestAnim(double beat) + // { + // //Bell Sound lol + // SoundByte.PlayOneShotGame("rhythmSomen/somen_bell"); + + // BeatAction.New(this, new List() + // { + // new BeatAction.Action(beat, delegate { Monkey.DoScaledAnimationAsync("MonkeySpin", 0.5f);}), + // }); + + // } } } \ No newline at end of file