Method onRaycastHit
onRaycastHit(GameObject)
Result detection of each frame of ray detection
public override void onRaycastHit(GameObject go)
Parameters
go
GameObjectthe object the raycast hit
Result detection of each frame of ray detection
public override void onRaycastHit(GameObject go)
go
GameObjectthe object the raycast hit