// Use this for initialization void Start() { this.infomation = GameObject.Find("GameText").GetComponent <Text>(); this.textbox = GameObject.Find("textbox"); mapChanged = FindObjectOfType <Saitou.UI.MapChanged>(); }
// Use this for initialization void Start() { this.text = GameObject.Find("koukando"); this.infomation = GameObject.Find("GameText"); //this.infomation.GetComponent<Text>().color = new Color(1, 1, 1, 0); //this.textbox = GameObject.Find("textbox"); //this.textbox.GetComponent<Image>().color = new Color(1, 1, 1, 0); mapChanged = FindObjectOfType <Saitou.UI.MapChanged>(); ScoreManager.Instance.ResetScore(); // 初期値代入 ScoreManager.Instance.AddScore(lovePoint); }