62 lines
1.8 KiB
TypeScript
62 lines
1.8 KiB
TypeScript
import { Node } from 'cc';
|
|
interface alert extends Node{
|
|
nodesType:{
|
|
"pop_01" : alert_pop_01,
|
|
"tips_top" : alert_pop_01_tips_top,
|
|
"ty_pop1" : alert_pop_01_tips_top_ty_pop1,
|
|
"title" : alert_pop_01_tips_top_title,
|
|
"btn_close" : alert_pop_01_tips_top_btn_close,
|
|
"btn" : alert_pop_01_btn,
|
|
"txt_btn" : alert_pop_01_btn_txt_btn,
|
|
"intr" : alert_pop_01_intr,
|
|
|
|
}
|
|
}
|
|
interface alert_pop_01 extends Node{
|
|
nodesType:{
|
|
"tips_top" : alert_pop_01_tips_top,
|
|
"ty_pop1" : alert_pop_01_tips_top_ty_pop1,
|
|
"title" : alert_pop_01_tips_top_title,
|
|
"btn_close" : alert_pop_01_tips_top_btn_close,
|
|
"btn" : alert_pop_01_btn,
|
|
"txt_btn" : alert_pop_01_btn_txt_btn,
|
|
"intr" : alert_pop_01_intr,
|
|
|
|
}
|
|
}
|
|
interface alert_pop_01_tips_top extends Node{
|
|
nodesType:{
|
|
"ty_pop1" : alert_pop_01_tips_top_ty_pop1,
|
|
"title" : alert_pop_01_tips_top_title,
|
|
"btn_close" : alert_pop_01_tips_top_btn_close,
|
|
|
|
}
|
|
}
|
|
interface alert_pop_01_tips_top_ty_pop1 extends Node{
|
|
}
|
|
interface alert_pop_01_tips_top_title extends Node{
|
|
}
|
|
interface alert_pop_01_tips_top_btn_close extends Node{
|
|
}
|
|
interface alert_pop_01_btn extends Node{
|
|
nodesType:{
|
|
"txt_btn" : alert_pop_01_btn_txt_btn,
|
|
|
|
}
|
|
}
|
|
interface alert_pop_01_btn_txt_btn extends Node{
|
|
}
|
|
interface alert_pop_01_intr extends Node{
|
|
}
|
|
declare global {
|
|
type tree_alert = {
|
|
"alert" : alert,
|
|
"pop_01" : alert_pop_01,
|
|
"tips_top" : alert_pop_01_tips_top,
|
|
"ty_pop1" : alert_pop_01_tips_top_ty_pop1,
|
|
"title" : alert_pop_01_tips_top_title,
|
|
"btn_close" : alert_pop_01_tips_top_btn_close,
|
|
"btn" : alert_pop_01_btn,
|
|
"txt_btn" : alert_pop_01_btn_txt_btn,
|
|
"intr" : alert_pop_01_intr,
|
|
}} |