// 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> (); }
// 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> (); }
// Use this for initialization void Start () { chatterBox = gameObject.GetComponent<chatter> (); }
//Get a quote by ID await GetQuoteById(chatter, quoteId);
// Use this for initialization void Start() { chatterBox = gameObject.GetComponent <chatter> (); }