测试修改
This commit is contained in:
@@ -96,11 +96,16 @@ export class HeroViewComp extends CCComp {
|
||||
dir_y:number = 0;
|
||||
speek_time:number = 0;
|
||||
role_heros_index:number = -1;
|
||||
|
||||
|
||||
//测试修改
|
||||
onLoad() {
|
||||
this.as = this.getComponent(HeroSpine);
|
||||
// this.BoxRang = this.node.getChildByName("range_box");
|
||||
// this.BoxRang = this.node.getChildByName("range_box");
|
||||
|
||||
} /** 视图层逻辑代码分离演示 */
|
||||
|
||||
start () {
|
||||
this.as.move()
|
||||
this.node.getChildByName("top").getChildByName("hp").active = false;
|
||||
|
||||
Reference in New Issue
Block a user