Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
196 B
3
Indexable
Never
public float timer;
public float jumpCD;


public void Jump()
{

    if(timer>jumpCD)
    {

    timer = 0;
    // DO THE JUMP

    }




}

public void Update()
{

    timer += Time.DeltaTime;

}
Leave a Comment