17 lines
333 B
Plaintext
17 lines
333 B
Plaintext
/*
|
|
文件名:Text.nut
|
|
路径:UI/ObjectClass/Text.nut
|
|
创建日期:2025-10-25 15:40
|
|
文件用途:
|
|
*/
|
|
class Text extends Actor {
|
|
function _typeof() {
|
|
return "Text"
|
|
}
|
|
|
|
constructor(Str, FontIndex,Color) {
|
|
C_Object = sq_CreateText(Str, FontIndex, Color);
|
|
sq_RegisterDestruction(C_Object,this);
|
|
}
|
|
}
|