Exemplo n.º 1
0
 void OnTriggerEnter(Collider col)
 {
     if (col.gameObject.tag == "Player")
     {
         if (dialog != null && !FPH_DialogManager.isEnabled)
         {
             dialog.SendMessage("Play");
             FPH_DialogManager.currentDialog = gameObject;
         }
     }
 }
 void Talk()
 {
     if (dialog != null && !FPH_DialogManager.isEnabled)
     {
         dialog.SendMessage("Play");
         FPH_DialogManager.currentDialog = gameObject;
     }
 }
Exemplo n.º 3
0
 // Use this for initialization
 void Start()
 {
     dialog.SendMessage("Play");
     FPH_DialogManager.currentDialog = gameObject;
 }