Beispiel #1
0
 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;
 }
Beispiel #2
0
 // 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?");
 }