Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
196 B
3
Indexable
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