using UnityEngine;

namespace VOID.Generic.Triggers
{
    /// <summary>
    /// This interface allow camera's dummy to call <see cref="OnCameraEnter"/> and <see cref="OnCameraExit"/>.<br/>
    /// Implementing component need to be placed on layer: <see cref="LayerManager.Camera"/>.<br/>
    /// Setting <see cref="Collider"/>'s <see cref="Collider.isTrigger"/> to true is required!<br/>
    /// </summary>
    public interface ICameraTrigger
    {
        public void OnCameraEnter();
        public void OnCameraExit();
    }
}