// Update is called once per frame
    void FixedUpdate()
    {
        grounded   = player.IsGrounded();
        canFlutter = player.CanFlutter();

        ControlInput();
        setSpeed();  //for animations
        setRotate(); //for animations
    }
Exemplo n.º 2
0
 // Update is called once per frame
 void FixedUpdate()
 {
     canFlutter = player.CanFlutter();
     ControlInput();
 }