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

26 lines
No EOL
659 B
C#

using SLZ.Marrow.Interaction;
using SLZ.Marrow.Warehouse;
using UnityEngine;
namespace SLZ.Marrow.Zones
{
[RequireComponent(typeof(Zone))]
[AddComponentMenu("MarrowSDK/Zones/Zone Link")]
public class ZoneLink : MonoBehaviour, IZoneEntityListenable, IZoneLinkable<MarrowEntity>, IZonePrioritizable
{
[SerializeField]
private Zone _zone;
public MarrowQuery activatorTags = new();
public ZoneLink[] zoneLinks;
[SerializeField]
private int priority = 0;
public int Priority => priority;
private void Reset()
{
_zone = GetComponent<Zone>();
}
}
}