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


【Unity】ディープリンクでアセットの PingObject を実行する例

概要

using Needle.Deeplink;
using UnityEditor;
using UnityEngine;

internal static class Example
{
    [DeepLink( RegexFilter = @"com.unity3d.kharma:ping-asset\/(.*)" )]
    private static bool PingAsset( string assetPath )
    {
        Debug.Log( assetPath );
        var asset = AssetDatabase.LoadAssetAtPath<Object>( assetPath );
        EditorGUIUtility.PingObject( asset );
        return true;
    }
}
[Example.cs を Ping](https://fwd.needle.tools/deeplink?com.unity3d.kharma:ping-asset/Assets/Example.cs)

関連記事




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

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