コード例 #1
0
 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;
     }
 }
コード例 #2
0
        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;
            }
        }