Odd, I’m pretty sure I have every script attached where it should be. Yet I’m getting an issue where the Raycaster script is not finding a topPriorityHit. What might be the cause of that?
RaycastHit? priorityHit = FindTopPriorityHit(raycastHits);
if (!priorityHit.HasValue) // if hit no priority object
{
NotifyObserersIfLayerChanged (0); // broadcast default layer
return;
}
If I change the “0” in the method call to, say, 8 then I get the walkable cursor.