22 lines
498 B
C#
22 lines
498 B
C#
using UniFramework.Event;
|
|
|
|
public class SceneEventDefine
|
|
{
|
|
public class ChangeToHomeScene : IEventMessage
|
|
{
|
|
public static void SendEventMessage()
|
|
{
|
|
var msg = new ChangeToHomeScene();
|
|
UniEvent.SendMessage(msg);
|
|
}
|
|
}
|
|
|
|
public class ChangeToBattleScene : IEventMessage
|
|
{
|
|
public static void SendEventMessage()
|
|
{
|
|
var msg = new ChangeToBattleScene();
|
|
UniEvent.SendMessage(msg);
|
|
}
|
|
}
|
|
} |