예제 #1
0
    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> ();
 }
예제 #3
0
 private void Start()
 {
     //AddGameObject ();
     DialogPlayer.Load("first");
 }