以下の内容はhttps://baba-s.hatenablog.com/entry/2022/09/05/203422より取得しました。


【Unity】ディープリンクで MenuItem を実行する例

概要

using Needle.Deeplink;
using UnityEditor;
using UnityEngine;

internal static class Example
{
    [DeepLink( RegexFilter = @"com.unity3d.kharma:execute-menu-item\/(.*)" )]
    private static bool ExecuteMenuItem( string menuItemPath )
    {
        Debug.Log( menuItemPath );
        EditorApplication.ExecuteMenuItem( menuItemPath );
        return true;
    }
}
[Profiler を開く](https://fwd.needle.tools/deeplink?com.unity3d.kharma:execute-menu-item/Window/Analysis/Profiler)

関連記事




以上の内容はhttps://baba-s.hatenablog.com/entry/2022/09/05/203422より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14