working on Bounce

This commit is contained in:
allylikesfrogs
2023-05-04 13:20:35 -07:00
parent 1c7ced7b71
commit a6caababa3
7 changed files with 238 additions and 6 deletions

View File

@@ -0,0 +1,18 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class WaterBehavior : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: f11c011d93f67a140b0991fa94ea41c3
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -19,10 +19,10 @@ public class PlayerBehavior : MonoBehaviour
[Header("Clarinet:")]
bool unlockedClarinet;
[SerializeField] private float maxDashTime = 3.0f;
[SerializeField] private float maxDashTime = 2.5f;
[SerializeField] private float dashStopSpeed = 0.1f;
public Vector3 moveDirection;
public float dashDistance = 0.2f;
public float dashDistance = 0.1f;
private float currentDashTime;
public bool isDash = false;