internal override void OnWizardUpdate()
{
base.OnWizardUpdate();
if (this.m_Tree == null)
{
base.errorString = "Please assign a tree";
base.isValid = false;
}
else if (!this.m_IsValidTree)
{
base.errorString = "Tree has already been selected as a prototype";
base.isValid = false;
}
else if (this.m_PrototypeIndex != -1)
{
this.DoApply();
}
}
}