Exemplo n.º 1
0
 protected ObjectLookupFieldAttribute(PrefabLookupKinds kinds, Type minimumType, Facepunch.Attributes.SearchMode searchModeDefault, Type[] interfaceTypes)
 {
     this.Kinds       = kinds;
     this.MinimumType = minimumType;
     if (searchModeDefault != Facepunch.Attributes.SearchMode.Default)
     {
         this.searchModeDefault = searchModeDefault;
     }
     this.RequiredInterfaces = interfaceTypes ?? ObjectLookupFieldAttribute.Empty.TypeArray;
 }
 protected ObjectLookupFieldFixedTypeAttribute(PrefabLookupKinds kinds, Type minimalType, Facepunch.Attributes.SearchMode defaultSearchMode, Type[] interfacesRequired)
     : base(kinds, minimalType, defaultSearchMode, interfacesRequired)
 {
 }
 protected ObjectLookupFieldFixedTypeAttribute(PrefabLookupKinds kinds, Type minimalType, Facepunch.Attributes.SearchMode defaultSearchMode, Type[] interfacesRequired) : base(kinds, minimalType, defaultSearchMode, interfacesRequired)
 {
 }