First commit for private source control. Older commits available on Github.

This commit is contained in:
2026-03-26 12:52:52 +00:00
parent a04c602626
commit 2d449c4a17
2176 changed files with 408185 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
using System.Collections;
using System.Collections.Generic;
using System.Text;
using UnityEditor;
using UnityEngine;
namespace AYellowpaper.SerializedCollections.Editor.Search
{
public class SearchResultEntry
{
public readonly int Index;
public readonly SerializedProperty Property;
public readonly IEnumerable<PropertySearchResult> MatchingResults;
public SearchResultEntry(int index, SerializedProperty property, IEnumerable<PropertySearchResult> matchingResults)
{
Index = index;
Property = property;
MatchingResults = matchingResults;
}
public override string ToString()
{
StringBuilder sb = new StringBuilder();
sb.AppendLine($"{Index}: {Property.propertyPath}");
foreach (var matchingResult in MatchingResults)
sb.AppendLine(matchingResult.ToString());
return sb.ToString();
}
}
}