Skip to content

Instantly share code, notes, and snippets.

@Schwapo
Schwapo / InspectorPropertyExtensions.cs
Last active September 13, 2022 10:11
An extension method that allows you to change the current search term of the searchable attribute by calling: InspectorProperty.SearchFor(SearchTerm)
#if UNITY_EDITOR
using System;
using System.Collections.Generic;
using System.Reflection;
using Sirenix.OdinInspector;
using Sirenix.OdinInspector.Editor;
using UnityEngine;
public static class InspectorPropertyExtensions
{