Version: 2022.3
言語: 日本語
public float itemIconSize ;

説明

Defines the size of items in the search view.

.

using UnityEditor;
using UnityEditor.Search;

static class Example_ISearchView_itemIconSize
{
    [MenuItem("Examples/ISearchView/itemIconSize")]
    public static void Run()
    {
        // SearchService can open a SearchView.
        var view = SearchService.ShowContextual("asset");
        view.itemIconSize = 45;
    }
}