filler whiffs
This commit is contained in:
parent
ccf0b0ab61
commit
b1568a222b
|
@ -469,7 +469,7 @@ AnimationClip:
|
||||||
m_Level: 0
|
m_Level: 0
|
||||||
m_CycleOffset: 0
|
m_CycleOffset: 0
|
||||||
m_HasAdditiveReferencePose: 0
|
m_HasAdditiveReferencePose: 0
|
||||||
m_LoopTime: 1
|
m_LoopTime: 0
|
||||||
m_LoopBlend: 0
|
m_LoopBlend: 0
|
||||||
m_LoopBlendOrientation: 0
|
m_LoopBlendOrientation: 0
|
||||||
m_LoopBlendPositionY: 0
|
m_LoopBlendPositionY: 0
|
||||||
|
|
|
@ -38,7 +38,7 @@ namespace HeavenStudio.Games
|
||||||
|
|
||||||
[Header("Components")]
|
[Header("Components")]
|
||||||
[SerializeField] private NtrFillbot mediumBot;
|
[SerializeField] private NtrFillbot mediumBot;
|
||||||
[SerializeField] private Animator filler;
|
public Animator filler;
|
||||||
|
|
||||||
public static Fillbots instance;
|
public static Fillbots instance;
|
||||||
|
|
||||||
|
@ -69,6 +69,16 @@ namespace HeavenStudio.Games
|
||||||
}
|
}
|
||||||
queuedBots.Clear();
|
queuedBots.Clear();
|
||||||
}
|
}
|
||||||
|
if (PlayerInput.Pressed() && !IsExpectingInputNow(InputType.STANDARD_DOWN))
|
||||||
|
{
|
||||||
|
filler.DoScaledAnimationAsync("Hold", 0.5f);
|
||||||
|
SoundByte.PlayOneShotGame("fillbots/armExtension");
|
||||||
|
}
|
||||||
|
if (PlayerInput.PressedUp() && !IsExpectingInputNow(InputType.STANDARD_UP))
|
||||||
|
{
|
||||||
|
filler.DoScaledAnimationAsync("Release", 0.5f);
|
||||||
|
SoundByte.PlayOneShotGame("fillbots/armRetractionWhiff");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue