also a little bit more
This commit is contained in:
parent
af6bee9902
commit
efc17beb7e
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue