- Home /
Question by
sean244 · Nov 19, 2018 at 08:18 PM ·
editor-scripting
How to apply EditorPrefs to a list of Rects?
My editor script has a list of type Rect. How can I make this list persist at runtime?
private static List<Rect> rects = new List<Rect>();
rects.Add(new Rect(pos.x, pos.y, width, height));
Comment