Ejemplo n.º 1
0
 public MemberOptionTree(IEnumerable <Type> types, MemberFilter memberFilter, TypeFilter memberTypeFilter, MemberAction action) : base(new GUIContent("Member"))
 {
     favorites             = new Favorites(this);
     codebase              = Codebase.Subset(types, memberFilter.Configured(), memberTypeFilter?.Configured());
     this.action           = action;
     this.types            = types;
     this.memberFilter     = memberFilter;
     this.memberTypeFilter = memberTypeFilter;
     expectingBoolean      = memberTypeFilter?.ExpectsBoolean ?? false;
 }
Ejemplo n.º 2
0
        public override void Prewarm()
        {
            base.Prewarm();

            codebase = Codebase.Subset(types, memberFilter.Configured(), memberTypeFilter?.Configured());
        }