protected override void ImmediateReaction() { //characterManager.PlayerController.keyState = (TVNTPlayerController.JoystickKey.NONE); FSLocator.textDisplayer.reactionButton.gameObject.SetActive(true); FSLocator.textDisplayer.ShowDialogueHolder(); FSLocator.uiContainer.HideObservationList(); // 원활한 진행을 위해 플레이어의 물리 법칙을 잠시 종료 newPlayer.GetComponent <BoxCollider2D> ().enabled = false; uiCaching = FindObjectOfType <UICaching>(); // 상단 UI 제거 foreach (var ui in uiCaching.GetUI()) { ui.SetActive(false); } // Displayer 제거 foreach (var ui in uiCaching.GetDisplayers()) { ui.SetActive(false); } if (joyStick != null) { joyStick.OnJoystickUp(); } }
protected override void ImmediateReaction() { uiCaching = FindObjectOfType <UICaching>(); foreach (var ui in uiCaching.GetUI()) { ui.gameObject.SetActive(true); } }
protected override void ImmediateReaction() { //uiCaching = GameObject.Find("UI_Canvas").GetComponent<UICaching>(); uiCaching = FindObjectOfType <UICaching>(); foreach (var ui in uiCaching.GetUI()) { ui.gameObject.SetActive(false); } }
protected override void ImmediateReaction() { //대화 관련된 것들 전부 숨기기 FSLocator.textDisplayer.reactionButton.onClick.RemoveAllListeners(); FSLocator.textDisplayer.reactionButton.gameObject.SetActive(false); FSLocator.textDisplayer.HideDialogueHolder(); FSLocator.characterDisplayer.HideImage(); newPlayer.GetComponent <BoxCollider2D> ().enabled = true; FSLocator.uiContainer.ShowObservationList(); uiCaching = FindObjectOfType <UICaching>(); foreach (var ui in uiCaching.GetUI()) { ui.gameObject.SetActive(true); } }
protected override void ImmediateReaction() { UICaching uiCaching = FindObjectOfType <UICaching>(); uiCaching.ClearUI(); }