using UnityEngine;
using XenseAR;
using UnityEngine.XR.ARFoundation;

public class ApplySettings : MonoBehaviour
{
    [SerializeField] AppSettingObject appSetting;
    [SerializeField] AROcclusionManager occlusionManager;

    // Start is called before the first frame update
    void Start()
    {
        if(occlusionManager != null)
        {
            occlusionManager.enabled = appSetting.applyDynamicOcclusion;
        }
    }
}
