@@ -1,5 +1,6 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using DG.Tweening;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Events;
|
||||
@@ -24,7 +25,10 @@ namespace Ichni.Editor
|
||||
{
|
||||
onCloseWindow?.Invoke();
|
||||
onQuit?.Invoke();
|
||||
Destroy(gameObject);
|
||||
this.transform.DOScale(Vector3.zero, 0.15f).SetEase(Ease.InCirc).OnComplete(() =>
|
||||
{
|
||||
Destroy(gameObject);
|
||||
});
|
||||
});
|
||||
StartCoroutine(WindowAnim.ShowPanelOnScale(gameObject));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user