I have a Component that implements the PanelComponent (dont ask), it takes the name of GameManager, as it manages my game, If I try to make a reference to this component, I get a
Cannot declare a variable of static type 'GameManager'
If I rename this component to "GameHandler" or something else of the sort, this issue goes away
To Reproduce
Create a panel component, call it GameManager, attempt to reference it
Cannot declare a variable of static type 'GameManager' moment
Expected behavior
Much like a regular component GameManager should be unrestricted
Describe the bug
I have a Component that implements the PanelComponent (dont ask), it takes the name of GameManager, as it manages my game, If I try to make a reference to this component, I get a
Cannot declare a variable of static type 'GameManager'
If I rename this component to "GameHandler" or something else of the sort, this issue goes awayTo Reproduce
Create a panel component, call it GameManager, attempt to reference it
Cannot declare a variable of static type 'GameManager'
momentExpected behavior
Much like a regular component GameManager should be unrestricted
Media/Files
No response
Additional context
No response