Files
ft/Client/Assets/Scripts/EventBlocks/UI/EventBlockRoot.cs
2026-06-29 21:18:33 +08:00

31 lines
731 B
C#

// /**
// * @Author: LB
// * @Description: TODO
// * @Date: Created in $[InvalidReference] $[InvalidReference]
// * @Modified By:
// */
using asap.core;
using EventCubeMelt;
using EventCubeMelt.UI;
using UnityEngine;
namespace EventBlocks.UI
{
public class EventBlockRoot : MonoBehaviour
{
private void OnBlockFinishEnd()
{
ELog("OnBlockFinishEnd");
GContext.Publish(new EventCubeMeltWeaponExhibitFinished());
}
private static void ELog(string message)
{
#if UNITY_EDITOR
if (!EventCubeMeltLogPolicy.EnableELog) return;
Debug.Log($"<color=orange>{nameof(EventBlockRoot)} => {message}</color>");
#endif
}
}
}