IEnumerator TurnToEndPanel() { yield return(null); OwnerTextShow _ownerText = GameObject.Find("OwnerText").GetComponent <OwnerTextShow>(); _ownerText.FromPoint("EndTextTurn"); }
private void OnMouseDown() { if (!BGMController.Instance.isShow) { Debug.Log("按到了愿望单"); _textShow = GameObject.Find("OwnerText").GetComponent <OwnerTextShow>(); _textShow.playerDialogue.text = ""; _textShow.Show(OwnerTextList); } }
private void OnMouseDown() { if (!BGMController.Instance.isShow) { if (isCanClick) { isCanClick = false; _textShow = GameObject.Find("OwnerText").GetComponent <OwnerTextShow>(); BeginLoadGameScene(); } } }
// Update is called once per frame public void BeginLoadGameScene() { _textShow = GameObject.Find("OwnerText").GetComponent <OwnerTextShow>(); _textShow.playerDialogue.text = ""; _textShow.Show(OwnerTextList); }