public virtual bool Inspect() { var changed = false; if (!icon.Debug.enter(ref inspectedItems, 0)) { return(false); } if (icon.Refresh.Click("Reset Inspector")) { ResetInspector(); } this.ClickHighlight(); if (inspectedItems == -1) { pegi.nl(); } if ("STD Saves: ".AddCount(explorer).enter(ref _inspectedDebugItems, 0).nl_ifNotEntered()) { explorer.Inspect(this); } if (inspectedItems == -1) { pegi.nl(); } if (("Object References: " + nestedReferences.Count).enter(ref _inspectedDebugItems, 1).nl_ifNotEntered()) { _listMetaData.edit_List_UObj(ref nestedReferences); if (inspectedReference == -1 && "Clear All References".Click("Will clear the list. Make sure everything" + ", that usu this object to hold references is currently decoded to avoid mixups")) { nestedReferences.Clear(); } } if (inspectedItems == -1) { pegi.nl(); } if (("Unrecognized Tags: " + UnrecognizedStd.Count).enter(ref _inspectedDebugItems, 2).nl_ifNotEntered()) { changed |= UnrecognizedStd.Nested_Inspect(); } if (inspectedItems == -1) { pegi.nl(); } return(changed); }
public virtual bool Inspect() { var changed = false; if (inspectedItems == -1) { pegi.EditorView.Lock_UnlockClick(gameObject); } if (!icon.Debug.enter(ref inspectedItems, 0).nl(ref changed)) { return(changed); } "{0} Debug ".F(this.GetNameForInspector()).write(90); pegi.toggleDefaultInspector(this); if (icon.Refresh.Click("Reset Inspector")) { ResetInspector(); } this.CopyPasteStdPegi().nl(ref changed); if (("Cfg Saves: " + explorer.CountForInspector()).enter(ref _inspectedDebugItems, 0).nl()) { explorer.Inspect(this); } if (inspectedItems == -1) { pegi.nl(); } if (("Object References: " + nestedReferences.Count).enter(ref _inspectedDebugItems, 1).nl_ifNotEntered()) { referencesMeta.edit_List_UObj(ref nestedReferences); if (!referencesMeta.Inspecting && "Clear All References".Click("Will clear the list. Make sure everything" + ", that usu this object to hold references is currently decoded to avoid mixups")) { nestedReferences.Clear(); } } if (inspectedItems == -1) { pegi.nl(); } if (("Unrecognized Tags: " + UnrecognizedStd.Count).enter(ref _inspectedDebugItems, 2).nl_ifNotEntered()) { UnrecognizedStd.Nested_Inspect().changes(ref changed); } if ("Inspect Inspector".enter(ref _inspectedDebugItems, 3).nl()) { QcUtils.InspectInspector(); } if (inspectedItems == -1) { pegi.nl(); } return(changed); }