// Use this for initialization void Start() { textComponent = textbox.GetComponent <TextBox>(); textComponent.setText("Hi! I'm made of chalk!"); pbar = bar.GetComponent <PetBar>(); animator = dog.GetComponent <Animator> (); }
// Use this for initialization void Start () { textComponent = textbox.GetComponent<TextBox>(); //textComponent.setText(""); pbar = bar.GetComponent<PetBar>(); animator = dog.GetComponent<Animator> (); gameGUI = GameObject.Find ("Game"); StartCoroutine (monologue ()); }
// Use this for initialization void Start () { textComponent = textbox.GetComponent<TextBox>(); textComponent.setText("Play fetch with me!"); pbar = bar.GetComponent<PetBar>(); pbutton = button.GetComponent<PetButton>(); buttonThrower = button.GetComponent<Throwable>(); animator = dog.GetComponent<Animator> (); }
// Use this for initialization void Start() { textComponent = textbox.GetComponent <TextBox>(); //textComponent.setText(""); pbar = bar.GetComponent <PetBar>(); animator = dog.GetComponent <Animator> (); gameGUI = GameObject.Find("Game"); StartCoroutine(monologue()); }
// Use this for initialization void Start() { textComponent = textbox.GetComponent <TextBox>(); textComponent.setText("Play fetch with me!"); pbar = bar.GetComponent <PetBar>(); pbutton = button.GetComponent <PetButton>(); buttonThrower = button.GetComponent <Throwable>(); animator = dog.GetComponent <Animator> (); }
// Use this for initialization void Start () { textComponent = textbox.GetComponent<TextBox>(); textComponent.setText("Hi! I'm made of chalk!"); pbar = bar.GetComponent<PetBar>(); animator = dog.GetComponent<Animator> (); }