Hello,
I’m trying to utilize the following code:
mouseXandYNormalized = Rect.PointToNormalized(screenRect, mouseXandY);
but the editor is returning: Error 1 ‘UnityEngine.Rect’ does not contain a definition for ‘PointToNormalized’
however the docs show this: Unity - Scripting API: Rect.PointToNormalized
What am I doing wrong?
Thanks.