So I realize my issue is that I do not have an event system in my scene… I just cant figure out how to get one to add to my scene… Maybe I missed in the videos… but I’m kind of lost…
I tried creating one in InteractWithUI()…
private bool InteractWithUI()
{
EventSystem eventSystem = new EventSystem();
return EventSystem.current.IsPointerOverGameObject();
}
but that, obviously didn’t work (EventSystem.EventSystem() is inaccessible due to it being Private… Im probably overlooking something really simple. But, I’ve been working on this since last night and cant find the answer.
Information I have found says the Event system is added automatically when a UI Element is added to the scene… but I got nothing.
However, I realized that I had nested the UI under the “PlayerCharacter” prefab, So no matter where I put the character the UI would be in the scene… Could this be the issue?