- News | 새소식
- Tutorial | 튜토리얼
- Script | 스크립트
- Tool | 개발툴
- iPhone | 아이폰
- Showcase | 쇼케이스
- Gossip | 자유게시판
- PDS : 자료실



웹페이지에서 오른쪽 마우스 버튼을 누르면 화면과 같이 팝업이 활성화 됩니다.
일반적으로 왼쪽 버튼에만 기능을 할당해 사용한다면 문제가 없겠지만 오른쪽 버튼에 기능을 할당하여
사용 할 경우(예:orbit camera 등등...) 이 팝업 화면이 거슬리고 필요가 없게 됩니다.
다음과 같은 방법으로 오른쪽 마우스 팝업을 없앨 수 있습니다.
web build 이 후 생성된 html 파일을 에디터로 오픈해서 다음 코드를 추가합니다. (파란색 Bold 처리된 부분)
<script language="javascript1.1" type="text/javaScript">
var hasUnity = DetectUnityWebPlayer();
var brokenUnity = false;
if (hasUnity) {
document.write('<object id="UnityObject" classid="clsid:444785F1-DE89-4295-863A-D46C3A781394" width="800" height="600"> \n');
document.write(' <param name="src" value="tup.unity3d" /> \n');
document.write(' <param name="disableContextMenu" value="true" />\n');
document.write(' <embed id="UnityEmbed" src="tup.unity3d" width="800" height="600" type="application/vnd.unity" pluginspage="http://www.unity3d.com/unity-web-player-2.x" disableContextMenu="true"/> \n');
document.write('</object>');
<param name="src" value="tup.unity3d" />
<param name="disableContextMenu" value="true" />
<embed id="UnityEmbed" src="tup.unity3d" width="800" height="600" type="application/vnd.unity" pluginspage="http://www.unity3d.com/unity-web-player-2.x" disableContextMenu="true" />
<noembed>
<div align="center">
This content requires the Unity Web Player<br /><br />
<a href="http://www.unity3d.com/unity-web-player-2.x">Install the Unity Web Player today!</a>
</div>
</noembed>
</object>

Interested in : MIDI, EWI, T-Square, DarkBASIC, Arcade & Retro Game, Ice coffee, bluefin tuna, Sound Design, Country Life, IPOD Touch, Xpress Engine, Xperia X1, Realforce...
|
MEGAMIX and the MEGAMIX Logo are trademarks of MEGAMIX™ / Powered by VISUAL GAME DESIGN & Xpress Engine This website is valid XHTML, CSS follow W3C standards |

