创建射线检测,确定起点和终点 public class LineController : SingletonMono<LineController> { [HideInInspector] public Vector3 pointStartPos, pointEndPos; [HideInInspector] public Vector3 lineDirection; [HideInInspector] public float lineRealLength; public Hand hand; public float rayLength = 20.0f; public LayerMask layerMask; private IEventHandle_VR currentTarget; public bool hasTarget { get { return currentTarget != null; } } public Action OnEnterEvent; public Action OnExitEvent; public Action OnClickEvent;...
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Get in touch with GameObject
Contact GameObject, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack