private bool IsEditor(Package package) { return package.TargetLibs .Any(lib => lib.ReferenceNames .Contains("UnityEditor")); }