This commit is contained in:
2026-07-09 21:33:33 +02:00
commit 84a2a365f3
2364 changed files with 950134 additions and 0 deletions
@@ -0,0 +1,16 @@
using UnityEngine;
using VOID.Generic.Objects.Abstract;
namespace VOID.Generic.Triggers
{
/// <summary>
/// This interface allow <see cref="AbstractObject"/> to call <see cref="OnObjectEnter"/> and <see cref="OnObjectExit"/>.<br/>
/// Implementing component need to be placed on one of layers: <see cref="LayerManager.Dynamic"/> or <see cref="LayerManager.Trigger"/>.<br/>
/// Setting <see cref="Collider"/>'s <see cref="Collider.isTrigger"/> to true is required!<br/>
/// </summary>
public interface IDynamicTrigger
{
public void OnObjectEnter(AbstractObject obj);
public void OnObjectExit(AbstractObject obj);
}
}