mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-12 22:44:35 +01:00
24 lines
330 B
C#
24 lines
330 B
C#
using System;
|
|
|
|
namespace MoleMole
|
|
{
|
|
public class BaseSequenceDialogContext : BaseDialogContext
|
|
{
|
|
private Action OnDestroy;
|
|
|
|
public void SetDestroyCallBack(Action callBack)
|
|
{
|
|
OnDestroy = callBack;
|
|
}
|
|
|
|
public override void Destroy()
|
|
{
|
|
if (OnDestroy != null)
|
|
{
|
|
OnDestroy();
|
|
}
|
|
base.Destroy();
|
|
}
|
|
}
|
|
}
|