private void Start() { if (BgmSlider != null) { BgmSlider.value = SoundManager.Instance.backgroundAudio.volume; } if (EfxSlider != null) { EfxSlider.value = SoundManager.Instance.effectAudio.volume; } if (UserNameText != null) { BaseUserInfoData baseUserInfoData = GameObject.FindObjectOfType <BaseUserInfoData>(); UserNameText.text = baseUserInfoData.UserName; } }
private void Start() { BaseUserInfoData baseUserInfoData = GameObject.FindObjectOfType <BaseUserInfoData>(); SetDisText(baseUserInfoData.UserScore.ToString() + "m"); }