mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-12-08 14:00:02 +00:00
更新
This commit is contained in:
@@ -98,7 +98,7 @@ export default abstract class GRoleBase<T> extends GObject<T>{
|
||||
}
|
||||
|
||||
//初始化
|
||||
protected init(role:TB.TbGRole){
|
||||
public init(role:TB.TbGRole){
|
||||
console.log("初始化宠物",!!this.spine,!!(app.battleRes.getRoleSpine(role.id)));
|
||||
this.spine.skeletonData = app.battleRes.getRoleSpine(role.id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user