예제 #1
0
 private void Awake()
 {
     LoadGraphicsSettings();
     systemDrawer = new DrawResourceSystemDebugGui(_settings);
     EditorApplication.playModeStateChanged += OnPlayModeStateChanged;
     OnPlayModeStateChanged(Application.isPlaying ? PlayModeStateChange.EnteredPlayMode : PlayModeStateChange.EnteredEditMode);
     _hipnotoad = new EditorSpriteAnimator(_settings.EditorModeAnimationSprites);
 }
예제 #2
0
 private void OnDestroy()
 {
     EditorApplication.playModeStateChanged -= OnPlayModeStateChanged;
     _hipnotoad = null;
     Clear();
 }