mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-10 11:45:09 +00:00
address Fan Club spectator "sticky hands"
This commit is contained in:
parent
e17db16628
commit
22e06efbff
2 changed files with 4 additions and 4 deletions
|
@ -732,7 +732,7 @@ namespace HeavenStudio.Games
|
||||||
{
|
{
|
||||||
if (Spectators[i].GetComponent<NtrIdolFan>().IsJumping())
|
if (Spectators[i].GetComponent<NtrIdolFan>().IsJumping())
|
||||||
continue;
|
continue;
|
||||||
Spectators[i].GetComponent<Animator>().Play("FanPrepare");
|
Spectators[i].GetComponent<Animator>().Play("FanPrepare", -1, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -741,7 +741,7 @@ namespace HeavenStudio.Games
|
||||||
BeatAction.New(this.gameObject, new List<BeatAction.Action>()
|
BeatAction.New(this.gameObject, new List<BeatAction.Action>()
|
||||||
{
|
{
|
||||||
new BeatAction.Action(beat, delegate { PlayAnimationAll("FanClap", true, true);}),
|
new BeatAction.Action(beat, delegate { PlayAnimationAll("FanClap", true, true);}),
|
||||||
new BeatAction.Action(beat + 0.25f, delegate { PlayAnimationAll("FanFree", true);}),
|
new BeatAction.Action(beat + 0.1f, delegate { PlayAnimationAll("FanFree", true, true);}),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -750,7 +750,7 @@ namespace HeavenStudio.Games
|
||||||
BeatAction.New(this.gameObject, new List<BeatAction.Action>()
|
BeatAction.New(this.gameObject, new List<BeatAction.Action>()
|
||||||
{
|
{
|
||||||
new BeatAction.Action(beat, delegate { PlayAnimationAll("FanClap", true, true);}),
|
new BeatAction.Action(beat, delegate { PlayAnimationAll("FanClap", true, true);}),
|
||||||
new BeatAction.Action(beat + 1f, delegate { PlayAnimationAll("FanFree", true);}),
|
new BeatAction.Action(beat + 1f, delegate { PlayAnimationAll("FanFree", true, true);}),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,7 @@ namespace HeavenStudio.Games.Scripts_FanClub
|
||||||
public void ClapJust(PlayerActionEvent caller, float state)
|
public void ClapJust(PlayerActionEvent caller, float state)
|
||||||
{
|
{
|
||||||
bool auto = GameManager.instance.autoplay;
|
bool auto = GameManager.instance.autoplay;
|
||||||
ClapStart(true, false, auto ? 0.25f : 0f);
|
ClapStart(true, false, auto ? 0.1f : 0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ChargeClapJust(PlayerActionEvent caller, float state)
|
public void ChargeClapJust(PlayerActionEvent caller, float state)
|
||||||
|
|
Loading…
Reference in a new issue