예제 #1
0
파일: FsmEditor.cs 프로젝트: Alan-Baylis/11
		protected override void OnEnable ()
		{
			base.OnEnable ();
			FsmEditor.instance = this;
			variableEditor = new VariableEditor ();
			if (mainToolbar == null) {
				mainToolbar= new MainToolbar();			
			}
			if (shortcutEditor == null) {
				shortcutEditor=new ShortcutEditor();

			}
			centerView = true;
			EditorApplication.playmodeStateChanged += OnPlayModeStateChanged;
			ErrorChecker.CheckForErrors ();
		}
예제 #2
0
		protected override void OnEnable ()
		{
			base.OnEnable ();
			FsmEditor.instance = this;
			variableEditor = new VariableEditor ();
			if (mainToolbar == null) {
				mainToolbar= new MainToolbar();			
			}
			centerView = true;
			EditorApplication.playmodeStateChanged += OnPlayModeStateChanged;
			ErrorChecker.CheckForErrors ();
		}