UICamera.FixedUpdate C# (CSharp) Method

FixedUpdate() public method

Update the object under the mouse if we're not using touch-based input.
public FixedUpdate ( ) : void
return void
	void FixedUpdate ()
	{
		if (useMouse && Application.isPlaying && handlesEvents)
		{
			hoveredObject = Raycast(Input.mousePosition, ref lastHit) ? lastHit.collider.gameObject : fallThrough;
			if (hoveredObject == null) hoveredObject = genericEventHandler;
			for (int i = 0; i < 3; ++i) mMouse[i].current = hoveredObject;
		}
	}