Net.Like.Xue.Tokyo/Assets/Plugins/SerializedCollections/Editor/Scripts/Search/PropertySearchResult.cs

22 lines
502 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
namespace AYellowpaper.SerializedCollections.Editor.Search
{
public class PropertySearchResult
{
public SerializedProperty Property;
public PropertySearchResult(SerializedProperty property)
{
Property = property;
}
public override string ToString()
{
return $"Found match in in {Property.propertyPath}";
}
}
}