Call combine mesh function in parent from end of instantiate script.

I have a script called CombineChildren.CS in parent object, and inside that script is a Combine function.

        ...
   [ContextMenu ("Combine Now")]
	public void Combine () {
        ...

Instantiate.JS script is creating objects inside the parent object, and i want to call Combine() function inside CombineChildren.CS from a line at the end of Instantiate.JS function so it combines after instantiation.

how do i do that?

What about something like this: (javascript- untested pseudocode)

transform.parent.GetComponent(CombineChildren).Combine();

On the object that is instantated, after everything else is done in the start method.