WuhuIslandTesting/Library/PackageCache/com.stresslevelzero.marrow.sdk@1.2.0/Scripts/SLZ.Marrow/SLZ.Marrow.Zones/ZoneEvents.cs
2025-01-07 02:06:59 +01:00

24 lines
No EOL
589 B
C#

using System;
using SLZ.Marrow.Interaction;
using UltEvents;
using UnityEngine;
namespace SLZ.Marrow.Zones
{
[RequireComponent(typeof(Zone))]
[AddComponentMenu("MarrowSDK/Zones/Zone Events")]
public class ZoneEvents : ZoneItem
{
[Serializable]
public class ZoneEventCallback : UltEvent<MarrowEntity>
{
}
[Space(10)]
public ZoneEventCallback onZoneEnter = new();
[Space(10)]
public ZoneEventCallback onZoneEnterOneShot = new();
[Space(10)]
public ZoneEventCallback onZoneExit = new();
}
}