address Fan Club spectator "sticky hands"
This commit is contained in:
parent
256c894d50
commit
1c95c317b8
|
@ -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