Refactor event channels and update layer specifications
- Removed StatusEffectEventChannelSO and its associated meta file. - Updated CreateEventChannelAssets to handle new shield-related events. - Added CharmModule for managing charm assets in the DataHub. - Introduced CharmEventChannelSO for charm equipped/unequipped events. - Changed layer references from "Ground" to "Platform" in various scripts. - Updated documentation to reflect changes in layer specifications. - Created new event assets for ShieldBroken, ShieldRestored, StatusEffectApplied, and StatusEffectExpired.
This commit is contained in:
11
Assets/_Game/Scripts/Equipment/CharmEventChannelSO.cs
Normal file
11
Assets/_Game/Scripts/Equipment/CharmEventChannelSO.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using UnityEngine;
|
||||
using BaseGames.Core.Events;
|
||||
|
||||
namespace BaseGames.Equipment
|
||||
{
|
||||
/// <summary>
|
||||
/// 护符事件频道(EVT_CharmEquipped / EVT_CharmUnequipped)。
|
||||
/// </summary>
|
||||
[CreateAssetMenu(menuName = "BaseGames/Events/CharmEvent")]
|
||||
public class CharmEventChannelSO : BaseEventChannelSO<CharmSO> { }
|
||||
}
|
||||
Reference in New Issue
Block a user