Problem with tutorial - `GetActive' of type `UnityEngine.GameObject' could be found

Options
Why am I having this problem?
Type `UnityEngine.GameObject' does not contain a definition for `GetActive' and no extension method `GetActive' of type `UnityEngine.GameObject' could be found. Are you missing an assembly reference?

Get_Active

I was following the tutorial and i am stuck at the PlayerManager script section
https://doc.photonengine.com/en-us/pun/v2/demos-and-tutorials/pun-basics-tutorial/player-prefab#camera_setup

I can't add the script as a component because of the error. Help please?

Answers