void PollSplashState() { // When the splash screen is playing we need to keep track so that we can update the preview button when it has finished. if (SplashScreen.isFinished) { m_Owner.Repaint(); EditorApplication.update -= PollSplashState; } }
void PollSplashState() { // Force the GameViews to repaint whilst showing the splash(1166664) PlayModeView.RepaintAll(); // When the splash screen is playing we need to keep track so that we can update the preview button when it has finished. if (SplashScreen.isFinished) { m_Owner.Repaint(); EditorApplication.update -= PollSplashState; } }