예제 #1
0
    private void FixedUpdate()
    {
        CeilingAbove = Physics2D.OverlapCircle(ceilingCheck.position, ceilingCheckRadius, whatIsCeiling);
        byWall       = Physics2D.OverlapCircle(wallCheck.position, wallCheckRadius, whatIsWall);

        PlayerPhysics.OrientPlayer();
        PlayerPhysics.ChangeGravityScale();
        PlayerPhysics.ChangeSpeedAndJumpForce(PowerShot, !Idle.enabled);
    }