Esempio n. 1
0
        /// <summary>
        /// Overridden function
        /// </summary>
        public override void OnUnSelected()
        {
            base.OnUnSelected();
            if (_engineInstance != null)
            {
                CubemapEntity.SetPreviewVisible(_bAlwaysVisible);
            }

            EditorManager.ActiveView.HotSpots.Remove(_hotSpotUpdate);
            _hotSpotUpdate.Remove();
            _hotSpotUpdate = null;
        }
Esempio n. 2
0
        /// <summary>
        /// Overridden function
        /// </summary>
        public override void OnSelected()
        {
            base.OnSelected();
            if (_engineInstance != null)
            {
                CubemapEntity.SetPreviewVisible(true);
            }

            System.Diagnostics.Debug.Assert(_hotSpotUpdate == null);
            _hotSpotUpdate = new HotSpotUpdateCubemap(this);
            EditorManager.ActiveView.HotSpots.Add(_hotSpotUpdate);
        }
Esempio n. 3
0
        /// <summary>
        /// Overridden function
        /// </summary>
        public override void OnUnSelected()
        {
            base.OnUnSelected ();
              if (_engineInstance!=null)
            CubemapEntity.SetPreviewVisible(_bAlwaysVisible);

              EditorManager.ActiveView.HotSpots.Remove(_hotSpotUpdate);
              _hotSpotUpdate.Remove();
              _hotSpotUpdate = null;
        }
Esempio n. 4
0
        /// <summary>
        /// Overridden function
        /// </summary>
        public override void OnSelected()
        {
            base.OnSelected ();
              if (_engineInstance!=null)
            CubemapEntity.SetPreviewVisible(true);

              System.Diagnostics.Debug.Assert(_hotSpotUpdate==null);
              _hotSpotUpdate = new HotSpotUpdateCubemap(this);
              EditorManager.ActiveView.HotSpots.Add(_hotSpotUpdate);
        }