mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-11-11 08:38:45 +00:00
开源...
This commit is contained in:
@@ -79,8 +79,8 @@ export default abstract class GRoleBase<T> extends GObject<T>{
|
||||
this._values = value;
|
||||
}
|
||||
|
||||
//添加避障
|
||||
ov:NOVBase;
|
||||
// //添加避障
|
||||
// ov:NOVBase;
|
||||
|
||||
get():this{
|
||||
if(this.isDie) return null;
|
||||
@@ -89,8 +89,8 @@ export default abstract class GRoleBase<T> extends GObject<T>{
|
||||
|
||||
onSyncLoad(){
|
||||
|
||||
//避障
|
||||
this.ov = new NOV2DSimple(this.node.getComponent(BoxCollider2D));
|
||||
// //避障
|
||||
// this.ov = new NOV2DSimple(this.node.getComponent(BoxCollider2D));
|
||||
|
||||
if(!this.spine) this.spine = this.node.getComponent(JNSkeleton);
|
||||
//如果没有生成则直接销毁
|
||||
|
||||
Reference in New Issue
Block a user