void Start() { game = GameObject.Find("GameManager").GetComponent <GameManage>(); scene = GameObject.Find("SceneManager").GetComponent <SceneManage>(); bgm = GameObject.Find("BgmManager").GetComponent <BgmManage>(); sfx = GameObject.Find("SfxManager").GetComponent <SfxManage>(); src = this.gameObject.GetComponent <AudioSource>(); bgm.BgmPlay(MainBgm); }
// Start is called before the first frame update void Start() { game = GameObject.Find("GameManager").GetComponent <GameManage>(); scene = GameObject.Find("SceneManager").GetComponent <SceneManage>(); bgm = GameObject.Find("BgmManager").GetComponent <BgmManage>(); sfx = GameObject.Find("SfxManager").GetComponent <SfxManage>(); hint = GameObject.Find("HintText").GetComponent <Text>(); title = GameObject.Find("Stage").GetComponent <Image>(); bgm.BgmPlay(SelectBgm); PageInitialize(); Cursor.visible = true; }