Commit 1ce0b72b authored by Andrew Van Buren's avatar Andrew Van Buren

Dashcheck done in update.

parent 3fcdef22
......@@ -29,6 +29,10 @@ public class Dash : AbstractBehavior {
dashMeter = GameObject.FindGameObjectWithTag("DashMeter").transform;
}
void Update() {
DashCheck();
}
// Should be called every frame
public void DashCheck() {
// Button pressed, not in cooldown, and not on wall
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment