private void OnWizardCreate()
{
if (this.numberOfTrees > 0xf4240)
{
base.isValid = false;
base.errorString = string.Format("Mass placing more than {0} trees is not supported", 0xf4240);
Debug.LogError(base.errorString);
}
else
{
TreePainter.MassPlaceTrees(base.m_Terrain.terrainData, this.numberOfTrees, true, this.keepExistingTrees);
base.m_Terrain.Flush();
}
}
}