I wish for the the following to react:
var entityTextWeCo = this.app.root.findByName(‘TextWeCo’);
var entityImUnWeCo = this.app.root.findByName('ImUnWeCo');
this.entityButtonWeCo.element.on('mousedown', this.onPress2, this); this.entityButtonWeCo.element.on('mouseenter', this.onOver2, this);
};
HotelShifter.prototype.onOver2 = function (event) {
this.entityTextWeCo.color = new pc.Color(0, 0, 0.4);
this.entityImUnWeCo.color = new pc.Color(0, 0, 0.4);
};
Most likely UI-related, I guess