Esempio n. 1
0
 private void Message(float time, string txt, MessageSystem.ObjectToFollow objectToFollow,
                      MessageSystem.Window window)
 {
     Debug.Log("Start Message");
     GameController.Instance.MessageSystem.ChangeActiveFollower(objectToFollow);
     GameController.Instance.MessageSystem.ShowCustomText(txt, window);
     StopAllCoroutines();
     StartCoroutine(Hide(time, window));
 }
Esempio n. 2
0
 //Funkcja wysylajaca wiadomosc do gracza
 protected void Message(float time, string txt, MessageSystem.ObjectToFollow objectToFollow,
                        MessageSystem.Window window)
 {
     if (MessageEvent != null)
     {
         Debug.Log(txt + " for " + time + " from " + name);
         MessageEvent(time, txt, objectToFollow, window);
     }
 }