GameStateBehaviour.Awake C# (CSharp) Method

Awake() public method

public Awake ( ) : void
return void
	void Awake () {

		throwDirection = Vector3.forward;
		Initialize <States> ();

		InvalidPlayerPositionText.SetActive (false);
		YouWonText.SetActive (false);
		YouLoseText.SetActive (false);
		PairingInfoText.SetActive (false);
		ReplayButton.SetActive (false);

		gameCameraTransform = GameObject.Find ("Tango AR Camera").transform;

		beerPongInstance = GetComponentInParent<BeerPong> ();
		beerPongInstance.ActivateGamePlay += HandleActivateGamePlay;

		ringBalls = new List<GameObject> ();
		obstacles = new List<GameObject> ();
	}