public void UnregisterVxShadowMapComponent(SpotVxShadowMap spotVxsm)
 {
     if (_spotVxShadowMapList.Contains(spotVxsm))
     {
         _spotVxShadowMapList.Remove(spotVxsm);
     }
 }
        public void RegisterVxShadowMapComponent(SpotVxShadowMap spotVxsm)
        {
#if UNITY_EDITOR
            if (_renderPipelineType == RenderPipelineType.Unknown)
            {
                Debug.LogWarning("Try to register VxShadowMap on 'unknown RenderPipeline', it may not work.");
            }
            else if (_renderPipelineType == RenderPipelineType.Lightweight)
            {
                Debug.LogWarning("VxShadowMap of SpotLight is not supported on 'Lightweight RenderPipeline'.");
                return;
            }
#endif
            if (_spotVxShadowMapList.Contains(spotVxsm))
            {
                Debug.LogError("'" + spotVxsm.gameObject.name + "' is already registered. try to register duplicate vxsm!!");
            }
            else
            {
                _spotVxShadowMapList.Add(spotVxsm);
            }
        }