private void OnMouseDown() { if (!BGMController.Instance.isShow) { Debug.Log("按到了愿望单"); _textShow = GameObject.Find("OwnerText").GetComponent <OwnerTextShow>(); _textShow.playerDialogue.text = ""; _textShow.Show(OwnerTextList); } }
// Start is called before the first frame update void Start() { _ownerText.Show(_ownerText._myText, sceneName, false); Debug.Log("Success Income"); }
public void BeginLoadGameScene() { _textShow.playerDialogue.text = ""; _textShow.Show(OwnerTextList, levelName, music); }
// Update is called once per frame public void BeginLoadGameScene() { _textShow = GameObject.Find("OwnerText").GetComponent <OwnerTextShow>(); _textShow.playerDialogue.text = ""; _textShow.Show(OwnerTextList); }