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