private void OnEnable() { isEnable = true; if (sto == null) { sto = target as IFEditorIconSto; } }
public override void OnInspectorGUI() { if (sto == null) { sto = target as IFEditorIconSto; } this.Label("Too Large to Show"); this.Space(10); this.Label("Simple Info"); this.Label("Buildt_inIcon Count:\t" + sto.Buildt_inIcon.Count); this.Space(10); this.Button(() => { ShowWindow(); }, "Open", GUILayout.Height(25)); }