////////////////////////////////////////////////////////////////////////////////////////////////////
        /// <summary>	Sets the controllers state. </summary>
        ///
        /// <param name="state">	The state to change to. </param>
        private void SetState(LightmapImporterStateEnum state)
        {
            mState = state;

            var handler = StateChanged;

            if (handler != null)
            {
                handler(this, new LightmapImporterStateChangeArgs(state));
            }
        }
        ////////////////////////////////////////////////////////////////////////////////////////////////////
        /// <summary>   Updates the UI according to the controller's state. </summary>
        ///
        /// <param name="state">    The controllers state. </param>
        private void SetState(LightmapImporterStateEnum state)
        {
            switch (state)
            {
            case LightmapImporterStateEnum.ImporterReady:
                mImportUVsButton.Enabled = true;
                break;

            case LightmapImporterStateEnum.ImporterImporting:
                mImportUVsButton.Enabled = false;
                break;
            }
        }
 public LightmapImporterStateChangeArgs(LightmapImporterStateEnum state)
 {
     State = state;
 }
		public LightmapImporterStateChangeArgs(LightmapImporterStateEnum state)
		{
			State = state;
		}