private void ApplyPercentageOf(IDataModel dataModel, LayerPropertiesModel properties, float src)
{
if (GameProperty == null)
return;
var gameProperty = dataModel.GetPropValue<float>(GameProperty);
var percentage = gameProperty/src;
if (LayerProperty == "Width")
ApplyWidth(properties, percentage);
else if (LayerProperty == "Height")
ApplyHeight(properties, percentage);
else if (LayerProperty == "Opacity")
ApplyOpacity(properties, percentage);
}