新增Sprite用于控制纹理
This commit is contained in:
@@ -29,6 +29,13 @@ abstract class Component {
|
||||
return this;
|
||||
}
|
||||
|
||||
public get stage(){
|
||||
if (!this.entity)
|
||||
return null;
|
||||
|
||||
return this.entity.stage;
|
||||
}
|
||||
|
||||
public initialize(){
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user