/// --------------------------------------------------------------------------------- /// <summary> /// 开始任务对话框 /// </summary> /// --------------------------------------------------------------------------------- void OnTriggerEnter(Collider other) { if (other.tag == "Player") { if (CQuestMgr.Inst != null) { CQuestScript pQS = CQuestMgr.Inst.GetQuestScript(); if (pQS != null) { pQS.OnTalk((uint)npctypeid); } } } }