Ejemplo n.º 1
0
        private void OnCellClicked(int index)
        {
            if (index >= UiInspector.LastHitObjects.Count)
            {
                return;
            }

            InspectorManager.Inspect(UiInspector.LastHitObjects[index]);
        }
Ejemplo n.º 2
0
        // UI Listeners

        private void OnGameObjectButtonClicked()
        {
            if (!ComponentRef)
            {
                ExplorerCore.LogWarning("Component reference is null or destroyed!");
                return;
            }

            InspectorManager.Inspect(ComponentRef.gameObject);
        }
Ejemplo n.º 3
0
        private static void InspectClipboard()
        {
            if (Current.IsNullOrDestroyed())
            {
                Notification.ShowMessage("Cannot inspect a null or destroyed object!");
                return;
            }

            InspectorManager.Inspect(Current);
        }
Ejemplo n.º 4
0
 private void OnCellClicked(int dataIndex)
 {
     if (m_context == SearchContext.StaticClass)
     {
         InspectorManager.Inspect(currentResults[dataIndex] as Type);
     }
     else
     {
         InspectorManager.Inspect(currentResults[dataIndex]);
     }
 }
Ejemplo n.º 5
0
 public static void Inspect(Type type)
 => InspectorManager.Inspect(type);
Ejemplo n.º 6
0
 public static void Inspect(object obj)
 => InspectorManager.Inspect(obj);
Ejemplo n.º 7
0
 public void Show()
 {
     InspectorManager.Inspect(proto);
 }
        //public int HalfWidth => (int)(0.5f * Rect.rect.width) - 75;
        //public int AdjustedKeyWidth => HalfWidth - 50;
        //public int AdjustedRightWidth => HalfWidth;

        private void KeyInspectClicked()
        {
            InspectorManager.Inspect((Occupant as CacheKeyValuePair).DictKey, this.Occupant);
        }
Ejemplo n.º 9
0
 protected virtual void InspectClicked()
 {
     InspectorManager.Inspect(Occupant.Value, this.Occupant);
 }
Ejemplo n.º 10
0
 public override void OnSelectMouseInspect()
 {
     InspectorManager.Inspect(lastHitObject);
 }