mirror of
https://github.com/maxartz15/UnitySerializedReferenceUI.git
synced 2025-07-04 09:56:10 +02:00
formatting
This commit is contained in:
@ -6,10 +6,10 @@ public static class SerializedReferenceUIDefaultTypeRestrictions
|
||||
{
|
||||
public static IEnumerable<Func<Type, bool>> GetAllBuiltInTypeRestrictions(FieldInfo fieldInfo)
|
||||
{
|
||||
var result = new List<Func<Type, bool>>();
|
||||
|
||||
var attributeObjects = fieldInfo.GetCustomAttributes(false);
|
||||
foreach (var attributeObject in attributeObjects)
|
||||
List<Func<Type, bool>> result = new List<Func<Type, bool>>();
|
||||
|
||||
object[] attributeObjects = fieldInfo.GetCustomAttributes(false);
|
||||
foreach (object attributeObject in attributeObjects)
|
||||
{
|
||||
switch (attributeObject)
|
||||
{
|
||||
|
Reference in New Issue
Block a user