private bool onDecalTilingChanged(CustomizerModelEvents.DecalTilingChangedEvent evt)
 {
     if (evt.DecalLayer.Decal != null && evt.DecalLayer.OriginalRenderer != null)
     {
         if (evt.IsTiled)
         {
             EquipmentShaderUtils.ApplyDecalTexture(evt.DecalLayer.ShaderChannel, evt.DecalLayer.Decal, currentEquipmentRenderers);
         }
         else
         {
             EquipmentShaderUtils.ApplyDecalTexture(evt.DecalLayer.ShaderChannel, null, currentEquipmentRenderers);
             EquipmentShaderUtils.ApplyDecalTexture(evt.DecalLayer.ShaderChannel, evt.DecalLayer.Decal, evt.DecalLayer.OriginalRenderer);
         }
     }
     EquipmentShaderUtils.ApplyDecalRepeat(evt.DecalLayer.ShaderChannel, evt.IsTiled, currentEquipmentRenderers);
     return(false);
 }
 private bool onDecalChanged(CustomizerModelEvents.DecalChangedEvent evt)
 {
     if (evt.DecalLayer.Type == DecalType.DECAL && evt.ChosenRenderer != null && !evt.DecalLayer.IsTiled)
     {
         EquipmentShaderUtils.ApplyDecalTexture(evt.DecalLayer.ShaderChannel, null, currentEquipmentRenderers);
         EquipmentShaderUtils.ApplyDecalTexture(evt.DecalLayer.ShaderChannel, evt.NewDecal, evt.ChosenRenderer);
     }
     else
     {
         EquipmentShaderUtils.ApplyDecalTexture(evt.DecalLayer.ShaderChannel, evt.NewDecal, currentEquipmentRenderers);
     }
     if (evt.DecalLayer.Type == DecalType.FABRIC)
     {
         EquipmentShaderUtils.ApplyDecalRepeat(evt.DecalLayer.ShaderChannel, repeat: true, currentEquipmentRenderers);
     }
     return(false);
 }