sleepyboy
return Physics2D.OverlapCircle(GroundCheck.position, 0.2f, GroundLayer);
# PRESENTING CODE
建立一個隱形圓形區域
rb.linearVelocity = new Vector2(horizontal * speed, jumpingpower);
rb.linearVelocity = new Vector2(horizontal * speed, rb.linearVelocityY);
對剛體施加外力 使其移動
horizontal:根據按鍵判斷左右,什麼都不按是 0, 往左 -1, 往右 1
horizontal = Input.GetAxisRaw("Horizontal");
By April first