also a little bit more

This commit is contained in:
AstrlJelly 2024-01-15 04:30:56 -05:00
parent af6bee9902
commit efc17beb7e

View file

@ -27,12 +27,14 @@ namespace HeavenStudio.Games.Scripts_MrUpbeat
void Awake() void Awake()
{ {
game = MrUpbeat.instance; game = MrUpbeat.instance;
canStep = false;
} }
void Update() void Update()
{ {
blipText.transform.localPosition = new Vector3(antennaLight.position.x, antennaLight.position.y + 0.7f); blipText.transform.localPosition = new Vector3(antennaLight.position.x, antennaLight.position.y + 0.7f);
if (PlayerInput.GetIsAction(MrUpbeat.InputAction_BasicPress) && !game.IsExpectingInputNow(MrUpbeat.InputAction_BasicPress) if (PlayerInput.GetIsAction(MrUpbeat.InputAction_BasicPress) && !game.IsExpectingInputNow(MrUpbeat.InputAction_BasicPress)
&& canStep && canStepFromAnim) { && canStep && canStepFromAnim) {
Step(true); Step(true);