void OnDestroy() { if (fx) { fx.Deinit(); } }
void OnDestroy() { if (SceneManager.instance) { SceneManager.instance.RemoveTransition(this); } if (transitionOut) { transitionOut.Deinit(); } if (transitionIn) { transitionIn.Deinit(); } }