给 动画类 和 精灵类 重写typeof
This commit is contained in:
parent
04a5d61bb2
commit
f9a88932f4
|
|
@ -37,6 +37,10 @@ class Animation extends Actor {
|
|||
//附加选项
|
||||
AdditionalOptions = null;
|
||||
|
||||
function _typeof() {
|
||||
return "animation";
|
||||
}
|
||||
|
||||
constructor(...) {
|
||||
base.constructor();
|
||||
|
||||
|
|
|
|||
|
|
@ -8,6 +8,10 @@ class CL_SpriteObject extends CL_BaseObject {
|
|||
|
||||
SpriteFrame = null;
|
||||
|
||||
function _typeof() {
|
||||
return "sprite";
|
||||
}
|
||||
|
||||
constructor(...) {
|
||||
local C_Object;
|
||||
//创建空精灵
|
||||
|
|
|
|||
Loading…
Reference in New Issue