예제 #1
0
    protected override void OnLoad()
    {
        //Screen.showCursor = false;
        this.PlotCaptionMap = ConfigMap.Instance().LabCaptionMap;
//		inputList.Add(MoveStatus.BACKWARD);
        inputList.Add(MoveStatus.FORWARD);
//		inputList.Add(MoveStatus.LEFT);
//		inputList.Add(MoveStatus.RIGHT);

        plotStatusDic.Add("isFinishWink", false);
        plotStatusDic.Add("isFinishMouse", false);
        plotStatusDic.Add("isFinishMove", false);
        plotStatusDic.Add("isMoveMouseX", false);
        plotStatusDic.Add("isMoveMouseY", false);
        plotStatusDic.Add("isStartTest", false);
        plotStatusDic.Add("isFinishTest1", false);
        plotStatusDic.Add("isFinishTest2", false);
        plotStatusDic.Add("isTest2TimeUp", false);
        plotStatusDic.Add("isFinishiTestAI", false);
        plotStatusDic.Add("isGetSofa", false);
        plotStatusDic.Add("isEvaluating", false);
        plotStatusDic.Add("isEndPassed", false);
        plotStatusDic.Add("isEndReject", false);

        this.labObjects.ShowLabTest1(false);
        this.labObjects.ShowLabTest2(false);
        this.labObjects.ShowLabTest3(false);
        this.labObjects.ShowLabTest4(false);
        this.labObjects.ShowLabEnd1(false);
        this.labObjects.ShowLabEnd2(false);
        this.restartPanel.SetActive(false);

        waterObj.transform.localPosition = waterPos;
        Invoke("PlayPlot", 1.5f);
    }
예제 #2
0
 protected override void OnLoad()
 {
     this.PlotCaptionMap    = ConfigMap.Instance().CaveCaptionMap;
     this.captionLabel.text = "山洞中...";
     guide.ResetDog(dogPos[dogIndex]);
     dogIndex++;
 }
예제 #3
0
 protected override void OnLoad()
 {
     this.PlotCaptionMap = ConfigMap.Instance().SoloCaptionMap;
     this.selectPanel.ShowSelectPanel(false);
     PlotModule.Instance().AudioContainer = audioContainer;
     InitLoginUI();
 }
예제 #4
0
 private void CheckNPC()
 {
     if (guide.PlayerInRange() && npcIndex < npcPos.Length)
     {
         PlotModule.Instance().SetCaptionByIndex(audioSource, captionLabel, ConfigMap.Instance().AlleyCaptionMap, GameCommon.Randomi(1, 2));
         guide.ResetDog(npcPos[npcIndex]);
         npcIndex++;
     }
 }
예제 #5
0
 private void CheckEnterNextRoom()
 {
     //finished guide part - go to Next sence
     if (guide.PlayerInRange() && dogPosIndex >= dogPos.Count)
     {
         this.guide.StopAnimalSound();
         PlotModule.Instance().SetPlotCaption(audioSource, captionLabel, ConfigMap.Instance().GuideCaptionMap);
         Invoke("NextLevel", PlotModule.Instance().CurrentAudioLength);
     }
 }
예제 #6
0
    void Awake()
    {
        DontDestroyOnLoad(gameObject);
        GenerateFile();
        ConfigMap.Instance();
        PlayerModule.Instance();
        PlotModule.Instance();

        InitGameData();
        PlayerModule.Instance().LoadPlayerData();
    }
예제 #7
0
 //check moving, set new dog position
 private void CheckTrigger()
 {
     if (guide.PlayerInRange() && dogPosIndex < dogPos.Count)
     {
         tipsPanel.ShowForwardTip(false);
         this.guide.StopAnimalSound();
         //set position
         guide.SetDogPosition(dogPos[dogPosIndex++]);
         inputIndex++;
         Invoke("PlayDogBark", 1);
         //set caption
         if (isTrigger && PlotModule.Instance().CaptionIndex < PlotModule.Instance().AudioContainer.audioPlotList.Count)
         {
             isTrigger = false;
             PlotModule.Instance().SetPlotCaption(audioSource, captionLabel, ConfigMap.Instance().GuideCaptionMap);
         }
         return;
     }
     else
     {
         isTrigger = true;
     }
 }
예제 #8
0
 protected override void OnLoad()
 {
     this.PlotCaptionMap = ConfigMap.Instance().GuideCaptionMap;
     captionLabel.text   = "";
     Invoke("Init", 1.0f);
 }
예제 #9
0
 // Use this for initialization
 protected override void OnLoad()
 {
     this.PlotCaptionMap = ConfigMap.Instance().InfinityCaptionMap;
 }
예제 #10
0
 protected override void OnLoad()
 {
     this.PlotCaptionMap = ConfigMap.Instance().AlleyCaptionMap;
     guide.ResetDog(npcPos[npcIndex]);
     npcIndex++;
 }
예제 #11
0
 protected override void OnLoad()
 {
     this.player.IsRestrictPath = true;
     this.PlotCaptionMap        = ConfigMap.Instance().ForestCaptionMap;
 }