//Stash the objects that inherit from BasePool to use as the list for seletion in the editor private void storePoolTypes(){ if (poolTypes == null) { poolTypes = BasePool.getSubclasses (); poolStringTypes = poolTypes.Select(x => x.Name).ToArray(); } }