public void OnBackground() { GameData.Instance._char.OnChar(-1); GameData.Instance._ui.CloseBottom(); if (_bg_now != null) { Destroy(_bg_now.gameObject); } if (_map < 0) { if (!GameData.Instance._event._event_bgm) { GameData.Instance._sound.Stop_BGMSound(); } } else { _bg_now = Instantiate(_bg[_map], _bg_parent); _bg_now.transform.localPosition = Vector3.zero; _bg_now.transform.localScale = Vector3.one; _bg_now.OnSet(_map); if (!GameData.Instance._event._event_bgm) { GameData.Instance._sound.Play_BGMSound(GameData.Instance._map[_map]._bgm); } } }