Example #1
0
    public static T[] AsArray <T>(this SerializedProperty property)
    {
        var propertiesArray = property.AsArray();

        return(propertiesArray.Select(s => s.objectReferenceValue).OfType <T>().ToArray());
    }