init
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
cc.Class({
|
||||
extends: cc.Component,
|
||||
properties: {
|
||||
ovVideoImg: {
|
||||
default: null,
|
||||
type: cc.SpriteFrame,
|
||||
displayName: "logo"
|
||||
}
|
||||
},
|
||||
start: function () {
|
||||
window.qq && this.ovVideoImg && (this.node.getComponent(cc.Sprite).spriteFrame = this.ovVideoImg);
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user