📜  检查对象是否接地 - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:44.953000             🧑  作者: Mango

代码示例1
// Add a character controller to your object

public CharacterController controller;

if (controller.isGrounded)
{
  // Jump 'FOR EXAMPLE'
}