private void RecreateTextures() { if (FromBG == null) { MaybeCreateFirst(); } else { if (SaveData.s.Backgrounds) { FromBG.Show(); if (ToBG != null) { ToBG.Show(); } FromBG.capturer.RecreateTexture(); if (ToBG != null) { ToBG.capturer.RecreateTexture(); } } else { FromBG.Hide(); if (ToBG != null) { ToBG.Hide(); } } } }
private void FinishTransition() { if (ToBG != null && FromBG != null) { FromBG.Hide(); FromBG = ToBG; ToBG = null; } }