示例#1
0
        protected override void InitOnEnable()
        {
            TabBase[] tabs =
            {
                new PathFiltersTab(
                    FilterType.Ignores,
                    "Ignored items will not be searched for references both as source and a target of the reference.",
                    MaintainerSettings.References.pathIgnoresFilters,
                    false,
                    OnPathIgnoresChange),
            };

            Init(ReferencesFinder.ModuleName, tabs, 0, null);

            instance = this;
        }
        protected override void InitOnEnable()
        {
            TabBase[] tabs =
            {
                new PathFiltersTab(
                    FilterType.Includes,
                    "Included items will filter root level to have only items added to the includes.",
                    ProjectSettings.References.pathIncludesFilters,
                    true, OnPathIncludesChange),

                new PathFiltersTab(
                    FilterType.Ignores,
                    "Ignored items will not be searched for references both as source and a target of the reference.",
                    ProjectSettings.References.pathIgnoresFilters,
                    false, OnPathIgnoresChange),
            };

            Init(ReferencesFinder.ModuleName, tabs, 0, null);

            instance = this;
        }
示例#3
0
 protected override void UnInitOnDisable()
 {
     instance = null;
 }