mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-25 19:15:16 +00:00
Fix compilation errors
i have to do that too aaaaaaaaaaaaa
This commit is contained in:
parent
66ae9e9cd8
commit
a761bd7795
3 changed files with 40 additions and 59 deletions
|
@ -3261,18 +3261,4 @@ AnimationClip:
|
||||||
script: {fileID: 0}
|
script: {fileID: 0}
|
||||||
m_HasGenericRootTransform: 0
|
m_HasGenericRootTransform: 0
|
||||||
m_HasMotionFloatCurves: 0
|
m_HasMotionFloatCurves: 0
|
||||||
m_Events:
|
m_Events: []
|
||||||
- time: 0
|
|
||||||
functionName:
|
|
||||||
data:
|
|
||||||
objectReferenceParameter: {fileID: 0}
|
|
||||||
floatParameter: 0
|
|
||||||
intParameter: 0
|
|
||||||
messageOptions: 0
|
|
||||||
- time: 0
|
|
||||||
functionName:
|
|
||||||
data:
|
|
||||||
objectReferenceParameter: {fileID: 0}
|
|
||||||
floatParameter: 0
|
|
||||||
intParameter: 0
|
|
||||||
messageOptions: 0
|
|
||||||
|
|
|
@ -32,15 +32,36 @@ namespace HeavenStudio.Games.Loaders
|
||||||
|
|
||||||
|
|
||||||
//the cues do nothing at the moment, so i temporarily disabled them
|
//the cues do nothing at the moment, so i temporarily disabled them
|
||||||
new GameAction("bop", delegate { var e = eventCaller.currentEntity; MarchingOrders.instance.Bop(e.beat, e.length); }, 1f, true),
|
new GameAction("bop", "Bop")
|
||||||
//new GameAction("marching", delegate { MarchingOrders.instance.CadetsMarch(eventCaller.currentEntity.beat); }, 4f, true),
|
{
|
||||||
|
function = delegate { var e = eventCaller.currentEntity; MarchingOrders.instance.Bop(e.beat, e.length); },
|
||||||
|
defaultLength = 1f,
|
||||||
|
resizable = true
|
||||||
|
},
|
||||||
|
|
||||||
|
//new GameAction("marching", delegate { MarchingOrders.instance.CadetsMarch(eventCaller.currentEntity.beat); }, 4f, true),
|
||||||
|
|
||||||
new GameAction("attention", delegate { var e = eventCaller.currentEntity; MarchingOrders.instance.SargeAttention(e.beat); }, 2.25f, false,
|
new GameAction("attention", "Attention...")
|
||||||
inactiveFunction: delegate { var e = eventCaller.currentEntity; MarchingOrders.AttentionSound(e.beat);}),
|
{
|
||||||
new GameAction("march", delegate { var e = eventCaller.currentEntity; MarchingOrders.instance.SargeMarch(e.beat); }, 2.0f, false,
|
function = delegate { var e = eventCaller.currentEntity; MarchingOrders.instance.SargeAttention(e.beat); },
|
||||||
inactiveFunction: delegate { var e = eventCaller.currentEntity; MarchingOrders.MarchSound(e.beat);}),
|
defaultLength = 2.25f,
|
||||||
new GameAction("halt", delegate { var e = eventCaller.currentEntity; MarchingOrders.instance.SargeHalt(e.beat); }, 2f, false),
|
inactiveFunction = delegate { var e = eventCaller.currentEntity; MarchingOrders.AttentionSound(e.beat);}
|
||||||
//new GameAction("face turn", delegate {}, 4f, false, parameters: new List<Param>()
|
},
|
||||||
|
|
||||||
|
new GameAction("march", "March!")
|
||||||
|
{
|
||||||
|
function = delegate { var e = eventCaller.currentEntity; MarchingOrders.instance.SargeMarch(e.beat); },
|
||||||
|
defaultLength = 2f,
|
||||||
|
inactiveFunction = delegate { var e = eventCaller.currentEntity; MarchingOrders.MarchSound(e.beat);}
|
||||||
|
},
|
||||||
|
|
||||||
|
new GameAction("halt", "Halt!")
|
||||||
|
{
|
||||||
|
function = delegate { var e = eventCaller.currentEntity; MarchingOrders.instance.SargeHalt(e.beat); },
|
||||||
|
defaultLength = 2f
|
||||||
|
},
|
||||||
|
|
||||||
|
//new GameAction("face turn", delegate {}, 4f, false, parameters: new List<Param>()
|
||||||
//{
|
//{
|
||||||
// new Param("type", MarchingOrders.DirectionFaceTurn.Right, "Direction", "The direction sarge wants the cadets to face"),
|
// new Param("type", MarchingOrders.DirectionFaceTurn.Right, "Direction", "The direction sarge wants the cadets to face"),
|
||||||
// new Param("type2", MarchingOrders.FaceTurnLength.Normal, "Length", "How fast or slow the event lasts"),
|
// new Param("type2", MarchingOrders.FaceTurnLength.Normal, "Length", "How fast or slow the event lasts"),
|
||||||
|
@ -105,7 +126,7 @@ namespace HeavenStudio.Games
|
||||||
|
|
||||||
if (PlayerInput.Pressed() && !IsExpectingInputNow())
|
if (PlayerInput.Pressed() && !IsExpectingInputNow())
|
||||||
{
|
{
|
||||||
Jukebox.PlayOneShotGame("miss");
|
Jukebox.PlayOneShot("miss");
|
||||||
Sarge.Play("Anger", -1, 0);
|
Sarge.Play("Anger", -1, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue