2024-11-12 17:24:59 +01:00

25 lines
650 B
C#

#if UNITY_EDITOR
using UnityEditor;
namespace Leap.Examples
{
public static class AllSamplesDependencyImporter
{
[UnityEditor.Callbacks.DidReloadScripts]
private static void CreateAssetWhenReady()
{
EditorApplication.delayCall += () =>
{
SampleDependencyImporter.FindAndImportSampleDependencies
(
"com.ultraleap.tracking",
"All Examples",
new string[] { "Shared Example Assets REQUIRED", "XR Examples", "Tabletop Examples", "URP Examples" }
);
};
}
}
}
#endif