public void Collect(PlayerMove player) { audioSource.Play(); this.player = player; chatbox.Show(); chatbox.ShowTextSilent("You got a <color=#0066cc>" + TypeToString() + "</color>!"); //add item to bag here isInteracting = true; }
// Start is called before the first frame update void Start() { chatbox = GameObject.Find("Chatbox").GetComponent <Chatbox>(); chatbox.Show(); chatbox.ShowTextSilent("Which Pokemon will you choose?"); }