/// <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; }
/// <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); }
/// <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; }
/// <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); }