Version: 2020.2
Experimental: this API is experimental and might be changed or removed in the future.

IOnSceneGUI.raycastHit

切换到手册
public RaycastHit raycastHit ;

描述

只读。当前鼠标位置的射线投射结果。这在 hitValidTerrain 为 true 时有效。

另请参阅:IOnSceneGUI.hitValidTerrainRaycastHit