当前位置:网站首页>Cocos create Jiugongge pictures

Cocos create Jiugongge pictures

2022-07-05 04:56:00 Meteor spot

    self.answerBg = ccui.Scale9Sprite:createWithSpriteFrameName("xxxxx.png", cc.rect(0,0,100,100))
    self.answerBg:setScale9Enabled(true)  -- Open the nine squares
    self.answerBg:setCapInsets(cc.rect(242,138,242,138))
    self.answerBg:setContentSize(cc.size(500,400))

原网站

版权声明
本文为[Meteor spot]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202140625238499.html