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;
     }
 }
示例#3
0
 // Use this for initialization
 void Start()
 {
     dialog.SendMessage("Play");
     FPH_DialogManager.currentDialog = gameObject;
 }