I get this error:
Error CS0122: 'GameManager.Instance' is inaccessible due to its protection level
If anybody knows how to solve this error, please tell me.
I am showing my code as a screenshot below:
image link :- https://i.stack.imgur.com/mKy2u.jpg
GameManager code link:- https://i.stack.imgur.com/RUxHS.jpg