public CustomVegetation(GameObject prefab, VegetationConfig config)
 {
     Prefab              = prefab;
     Name                = prefab.name;
     Vegetation          = config.ToVegetation();
     Vegetation.m_prefab = prefab;
 }
 /// <summary>
 ///     Custom vegetation from a prefab.<br />
 ///     Can fix references for mocks.
 /// </summary>
 /// <param name="prefab">The prefab for this custom vegetation.</param>
 /// <param name="fixReference">If true references for <see cref="Entities.Mock{T}"/> objects get resolved at runtime by Jötunn.</param>
 /// <param name="config">The vegetation config for this custom vegation.</param>
 public CustomVegetation(GameObject prefab, bool fixReference, VegetationConfig config)
 {
     Prefab              = prefab;
     Name                = prefab.name;
     Vegetation          = config.ToVegetation();
     Vegetation.m_prefab = prefab;
     FixReference        = fixReference;
 }