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


【Unity】ディープリンクで Unity のアセットを開く例

概要

using Needle.Deeplink;
using UnityEditor;
using UnityEngine;

internal static class Example
{
    [DeepLink( RegexFilter = @"com.unity3d.kharma:open-asset\/(.*)" )]
    private static bool OpenAsset( string assetName )
    {
        Debug.Log( assetName );
        var asset = AssetDatabase.LoadAssetAtPath<Object>( assetName );
        return AssetDatabase.OpenAsset( asset );
    }
}
[Example.cs を開く](https://fwd.needle.tools/deeplink?com.unity3d.kharma:open-asset/Assets/Editor/Example.cs)

関連記事




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

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