32 lines
715 B
TypeScript
32 lines
715 B
TypeScript
import { Node } from 'cc';
|
|
interface tip extends Node{
|
|
nodesType:{
|
|
"lay" : tip_lay,
|
|
"txt" : tip_lay_txt,
|
|
"RichText" : tip_lay_RichText,
|
|
"img_tx_ts_ts" : tip_lay_img_tx_ts_ts,
|
|
|
|
}
|
|
}
|
|
interface tip_lay extends Node{
|
|
nodesType:{
|
|
"txt" : tip_lay_txt,
|
|
"RichText" : tip_lay_RichText,
|
|
"img_tx_ts_ts" : tip_lay_img_tx_ts_ts,
|
|
|
|
}
|
|
}
|
|
interface tip_lay_txt extends Node{
|
|
}
|
|
interface tip_lay_RichText extends Node{
|
|
}
|
|
interface tip_lay_img_tx_ts_ts extends Node{
|
|
}
|
|
declare global {
|
|
type tree_tip = {
|
|
"tip" : tip,
|
|
"lay" : tip_lay,
|
|
"txt" : tip_lay_txt,
|
|
"RichText" : tip_lay_RichText,
|
|
"img_tx_ts_ts" : tip_lay_img_tx_ts_ts,
|
|
}} |