unity3d 屏蔽右键选项弹窗
要屏蔽右键选项弹窗,只需在导出的html中添加如下配置:
disableContextMenu: true
1: var config = {
2: width: 1730,
3: height: 980,
4: params: { enableDebugging:"0", disableContextMenu: true }
5:
6: };
7: var u = new UnityObject2(config);