protected virtual void FireOnPostRender(TreeLeafTag tag = null) { if (OnPostRender != null) { OnPostRender(this, tag ?? this); } if (Parent != null) { Parent.FireOnPostRender(tag ?? this); } }
protected virtual void FireOnCheckAdoptability(TreeLeafTag tag = null) { if (OnPreRender != null) { OnCheckAdoptability(this, tag ?? this); } if (Parent != null) { Parent.FireOnCheckAdoptability(tag ?? this); } }