Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// Article:
using System.Collections.Generic;
using PlayerAndEditorGUI;
using UnityEditor;
public class SomeScript : MonoBehaviour: IPEGI {
public List<SomeData> list = new List<SomeData>();
private int inspecteedElement = -1;
public bool Inspect() {
var changed = "My Important list".edit_List(ref list, ref inspecteedElement);
return changed;
public class SomeScriptDrawer : PEGI_Inspector<SomeScript> { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.