as the title say,If I instantiate another scenario b in node a, and there is a script written in node a, how can I call the method written in the script of node a in that scenario b
It's the same as accessing variables. You use get_node() and then call the function.