com.guru.unity.max/Editor/Test/GuruMaxTest.cs

36 lines
886 B
C#
Raw Normal View History

2023-12-26 03:47:44 +00:00
using System.Collections;
using System.Collections.Generic;
using Guru.Editor.Max;
using NUnit.Framework;
using UnityEditor;
using UnityEngine;
namespace Guru.Editor
{
public class GuruMaxTest
{
[Test]
public void TestSettingsPath()
{
var sttings = AppLovinSettings.Instance;
var path = AssetDatabase.GetAssetPath(sttings.GetInstanceID());
Debug.Log($"path: {path}");
Debug.Log($"SdkKey: {sttings.SdkKey}");
Debug.Log($"AdMobAndroidAppId: {sttings.AdMobAndroidAppId}");
Debug.Log($"AdMobIosAppId: {sttings.AdMobIosAppId}");
}
#if GURU_SDK_DEV
// 测试API检测地址
[Test]
public void Test_GetAPIPath()
{
var aipPath = GuruMaxSdkAPI.DevPackageRoot;
Debug.Log($"--- aipPath: {aipPath}");
}
#endif
}
}