📜  2d 射线统一 - C# 代码示例

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

代码示例1
RaycastHit2D hit = Physics2D.Raycast(transform.position, -Vector2.up);