EditorUpdate.cs 467 B

1234567891011121314151617181920
  1. using UnityEngine;
  2. using System.Collections;
  3. using UnityEditor;
  4. namespace AIPagedLod
  5. {
  6. public class UpdaterTest : EditorMonoBehaviour
  7. {
  8. public override void Update()
  9. {
  10. if (SceneView.lastActiveSceneView != null)
  11. {
  12. if (LoadPagedLodFromFileManagerEditor.mUpdateSceneUIFlag)
  13. {
  14. SceneView.lastActiveSceneView.Repaint();
  15. }
  16. }
  17. }
  18. }
  19. }