Can someone please explain this line and error? in the attached screen shot.
PlayerPrefs p = GameObject.Find(“Player”).GetComponent ();
Also, is this the correct forum for this?
Can someone please explain this line and error? in the attached screen shot.
PlayerPrefs p = GameObject.Find(“Player”).GetComponent ();
Also, is this the correct forum for this?
Hello RetroDan,
It seems you’re trying to assign a Player type to a PlayerPrefs one. I cannot provide further help without a bit more context. Is ‘p’ meant to be a Player instance or a PlayerPrefs instance?
Best,