ro-webgl/Assets/Editor/UI/UITest.cs
2021-12-21 09:40:39 +08:00

17 lines
381 B
C#

using UnityEditor;
using UnityEngine;
using UIExtensions;
using DG.Tweening;
public class UITest
{
[MenuItem("Assets/test")]
public static void Test()
{
GameObject go = Selection.activeGameObject;
string path = AssetDatabase.GetAssetPath(go);
Debug.Log(path);
go.transform.DOScale(0, 1).SetEase(Ease.InExpo);
}
}