0
点赞
收藏
分享

微信扫一扫

Egret Engine(七):旋转模式

凛冬已至夏日未远 2022-07-14 阅读 57


参考链接:​​旋转模式​​ 代码:

// this.stage.orientation = egret.OrientationMode.AUTO;
// this.stage.orientation = egret.OrientationMode.PORTRAIT;
// this.stage.orientation = egret.OrientationMode.LANDSCAPE_FLIPPED;
this.stage.orientation = egret.OrientationMode.LANDSCAPE;

const text = new egret.TextField();
text.text = "ProsperLee Lee";
this.addChild(text);


举报

相关推荐

0 条评论