// Use this for initialization
	void Start () {
		GameObject camera = GameObject.FindGameObjectWithTag("MainCamera");
		camControl = camera.GetComponent<cameraController> () as cameraController;
		chatterBox = GameObject.FindGameObjectWithTag ("chatterBox").GetComponent<chatter> ();

		GameObject player = GameObject.FindGameObjectWithTag ("Player");
		objectHealth = player.GetComponent <objectHealth> ();
	}
    // Use this for initialization
    void Start()
    {
        GameObject camera = GameObject.FindGameObjectWithTag("MainCamera");

        camControl = camera.GetComponent <cameraController> () as cameraController;
        chatterBox = GameObject.FindGameObjectWithTag("chatterBox").GetComponent <chatter> ();

        GameObject player = GameObject.FindGameObjectWithTag("Player");

        objectHealth = player.GetComponent <objectHealth> ();
    }
Esempio n. 3
0
    // Use this for initialization
    void Start()
    {
        GameObject gCHolder = GameObject.FindGameObjectWithTag("GameController");

        if (gCHolder != null)
        {
            gameCont = gCHolder.GetComponent <gameController> () as gameController;
        }
        GameObject camera = GameObject.FindGameObjectWithTag("MainCamera");

        camControl = camera.GetComponent <cameraController> () as cameraController;

        chatterBox = GameObject.FindGameObjectWithTag("chatterBox").GetComponent <chatter> ();
        GameObject player = GameObject.FindGameObjectWithTag("Player");

        objectHealth = player.GetComponent <objectHealth> ();
    }
Esempio n. 4
0
	// Use this for initialization
	void Start () {
		chatterBox = gameObject.GetComponent<chatter> ();
	}
 //Get a quote by ID
 await GetQuoteById(chatter, quoteId);
Esempio n. 6
0
 // Use this for initialization
 void Start()
 {
     chatterBox = gameObject.GetComponent <chatter> ();
 }