This version of Unity is unsupported.
Method group is Obsolete

PlayerController.gameObject

Obsolete The high level API classes are deprecated and will be removed in the future. public GameObject gameObject;

Description

The game object for this player.