Error - 'Image' is an abiguous reference between 'UnityEngine.UI.Image' and 'maxstAR.Image'
Hi,
Just want to inform you that our team has found this error when getting UI image component from a canvas object.
the script (truncated):
someGameObject.GetComponent<Image>().sprite
Error:
For those who found the same error, just use the workaround by directly refer Unity.UI.Image like so:
someGameObject.GetComponent<UnityEngine.UI.Image>().sprite
But we suggest that maxst should change the Maxst.Image name to avoid conflict with Unity UI.Image.
Thanks
Thank you very much for your feedback.
Yes, it's our mistake to make same class name.
We will modity that class name at next update.
- Maxst support team