mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 12:57:39 +02:00
You can no longer stab multiple peas at once (Fork Lifter)
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
using RhythmHeavenMania.Util;
|
||||
@ -8,6 +9,7 @@ namespace RhythmHeavenMania.Games.DJSchool
|
||||
{
|
||||
[Header("Components")]
|
||||
[SerializeField] private Student student;
|
||||
[SerializeField] private GameObject djYellow;
|
||||
|
||||
[Header("Properties")]
|
||||
public GameEvent bop = new GameEvent();
|
||||
@ -55,6 +57,13 @@ namespace RhythmHeavenMania.Games.DJSchool
|
||||
new MultiSound.Sound("djSchool/ooh", beat + 2f),
|
||||
});
|
||||
|
||||
BeatAction.New(djYellow, new List<BeatAction.Action>()
|
||||
{
|
||||
new BeatAction.Action(beat, delegate { djYellow.GetComponent<Animator>().Play("BreakCmon", 0, 0); }),
|
||||
new BeatAction.Action(beat + 1f, delegate { djYellow.GetComponent<Animator>().Play("BreakCmon", 0, 0); }),
|
||||
new BeatAction.Action(beat + 2f, delegate { djYellow.GetComponent<Animator>().Play("Hold", 0, 0); }),
|
||||
});
|
||||
|
||||
student.holdBeat = beat;
|
||||
student.ResetState();
|
||||
}
|
||||
@ -68,6 +77,13 @@ namespace RhythmHeavenMania.Games.DJSchool
|
||||
new MultiSound.Sound("djSchool/hey", beat + 2f),
|
||||
});
|
||||
|
||||
BeatAction.New(djYellow, new List<BeatAction.Action>()
|
||||
{
|
||||
new BeatAction.Action(beat, delegate { djYellow.GetComponent<Animator>().Play("Scratcho", 0, 0); }),
|
||||
new BeatAction.Action(beat + 1f, delegate { djYellow.GetComponent<Animator>().Play("Scratcho2", 0, 0); }),
|
||||
new BeatAction.Action(beat + 2.05f, delegate { djYellow.GetComponent<Animator>().Play("Hey", 0, 0); }),
|
||||
});
|
||||
|
||||
student.swipeBeat = beat;
|
||||
student.ResetState();
|
||||
}
|
||||
|
Reference in New Issue
Block a user