using UnityEngine;

namespace mgaia.Utils.LayerSystem
{
    /// <summary>
    /// Behaviour que adiciona uma layer já existente no sistema de layers
    /// </summary>
    /// <owner>Victor</owner>
    public class AddExistentLayer : MonoBehaviour
    {
        [SerializeField]
        private GameObject _layerToAdd;

        [SerializeField]
        private bool _inputShallNotPass;

        private void Awake()
        {
            LayerManager.Instance.AddLayerOnTop(_layerToAdd, _inputShallNotPass);
        }
    }
}