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); }
protected override void OnLoad() { this.PlotCaptionMap = ConfigMap.Instance().CaveCaptionMap; this.captionLabel.text = "山洞中..."; guide.ResetDog(dogPos[dogIndex]); dogIndex++; }
protected override void OnLoad() { this.PlotCaptionMap = ConfigMap.Instance().SoloCaptionMap; this.selectPanel.ShowSelectPanel(false); PlotModule.Instance().AudioContainer = audioContainer; InitLoginUI(); }
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++; } }
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); } }
void Awake() { DontDestroyOnLoad(gameObject); GenerateFile(); ConfigMap.Instance(); PlayerModule.Instance(); PlotModule.Instance(); InitGameData(); PlayerModule.Instance().LoadPlayerData(); }
//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; } }
protected override void OnLoad() { this.PlotCaptionMap = ConfigMap.Instance().GuideCaptionMap; captionLabel.text = ""; Invoke("Init", 1.0f); }
// Use this for initialization protected override void OnLoad() { this.PlotCaptionMap = ConfigMap.Instance().InfinityCaptionMap; }
protected override void OnLoad() { this.PlotCaptionMap = ConfigMap.Instance().AlleyCaptionMap; guide.ResetDog(npcPos[npcIndex]); npcIndex++; }
protected override void OnLoad() { this.player.IsRestrictPath = true; this.PlotCaptionMap = ConfigMap.Instance().ForestCaptionMap; }