NewPlayer.Start C# (CSharp) Method

Start() private method

private Start ( ) : void
return void
    void Start()
    {
        controller = GetComponent<Controller2D>();
        jumped = false;
        isCooldown = false;
        canPull = false;
        gravity = -(2 * jumpHeight) / Mathf.Pow(timeToJumpApex, 2);
        jumpVelocity = Mathf.Abs(gravity) * timeToJumpApex;
    }