// BG배경셋팅 호출 private void LoadBgSetting() { var bgSettingPath = $"StageBg/ArchiveLobby/ArchiveLobby.setting"; var bgSettingObj = ResourceManager.Instance.Load <GameObject>(bgSettingPath, false); if (bgSettingObj != null) { _bgSetting = bgSettingObj.GetComponent <BgSetting>(); if (_bgSetting != null) { _bgSetting.Apply(); } } }
/// <summary>スレッドを終了して画面を閉じる /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void BtnCancel_Click(object sender, EventArgs e) { BgSetting.CancelAsync(); Dispose(); }