//------------------------------------------------------------------------- public void switchBackgroundMap(int map_vibid, float already_update_time) { playSwitchAudio(EbDataMgr.Instance.getData <TbDataMap>(map_vibid).SwitchLevelAudioName); mLevelBackgroundMgr.onLoadMapEnd += resetNewBackground; mCurrentMapId = map_vibid; mLevelBackgroundMgr.switchBackground(EbDataMgr.Instance.getData <TbDataMap>(map_vibid).MapName, already_update_time); mRippleBackgroundStillSprite.setActive(true); mRippleBackgroundStillSprite.setPosition(new EbVector3(-mScene.getSceneLength() / 2, -mScene.getSceneWidth() / 2, 0)); }