Exemple #1
0
    IEnumerator TurnToEndPanel()
    {
        yield return(null);

        OwnerTextShow _ownerText = GameObject.Find("OwnerText").GetComponent <OwnerTextShow>();

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