|
@@ -28,7 +28,7 @@ import { select_sound_list } from './edit/select_sound_list';
|
|
|
import { select_task_da_guai } from './edit/task/select_task_da_guai';
|
|
|
import { edit_event_view } from './edit/event/edit_event_view';
|
|
|
import { tip_type_select } from './edit/tip_type_select';
|
|
|
-import { copy_scene } from './edit/copy_scene';
|
|
|
+import { show_copy_scene } from './edit/show_copy_scene';
|
|
|
export class tools {
|
|
|
|
|
|
public static show_dialog(title="是否确定?",sure_callback,cancel_callback=null){
|
|
@@ -87,10 +87,10 @@ export class tools {
|
|
|
}
|
|
|
|
|
|
public static show_copy_scene(sceneName:string,call) {
|
|
|
- resources.load("prefab/copy_scene", Prefab, (err, prefab)=> {
|
|
|
+ resources.load("prefab/show_copy_scene", Prefab, (err, prefab)=> {
|
|
|
let node = instantiate(prefab);
|
|
|
node.parent = main.g_canvas.node;
|
|
|
- node.getComponent(copy_scene).initView(sceneName,call)
|
|
|
+ node.getComponent(show_copy_scene).initView(sceneName,call)
|
|
|
})
|
|
|
}
|
|
|
|