private void OnTriggerEnter(Collider other) { if (TmpDate.m_investigatePoint >= diff) { DialogPlayer.Load("StewardSuccess"); Debug.Log("-------FINISH!!!!!!!!--------"); } else { DialogPlayer.Load("StewardFailure"); Debug.Log("-------FINISH!!!!!!!!--------"); } GetComponent <Animation> ().Play("OpenGateDoor"); }
void CloseBox() { DialogPlayer.Load(m_name); Skyunion.UIManager.Instance().ClosePanel <InvestigateBoxPanel> (); }
private void Start() { //AddGameObject (); DialogPlayer.Load("first"); }