using UnityEditor; using UnityEngine; namespace litefeel.Finder.Editor { class FindPrefabByMaterial : FindAssetWindowBase { protected override void ConfigValues() { m_DisableFind = m_Asset == null; m_EnabledFindInScene = m_Asset != null; } protected override bool InGameObjectAndChildren(GameObject prefab) { return FindUtil.InGameObject(prefab, m_Asset); } } }