ui变为prefab .放到resources下 panel 使用resources.load()加载到内存 实例化ui对象,放到uiroot显示 相关api nguitools.addchild(父对象,子对象)