新增Sprite用于控制纹理

This commit is contained in:
yhh
2020-06-19 18:16:42 +08:00
parent 981e149ca5
commit d22c5775c2
18 changed files with 348 additions and 191 deletions

View File

@@ -29,6 +29,13 @@ abstract class Component {
return this;
}
public get stage(){
if (!this.entity)
return null;
return this.entity.stage;
}
public initialize(){
}