I customized my html in Unity 2.6 to have custom loader bars, splash screen, icons, (no right click menus) etc. I cannot find any documentation or examples of how to do this in Unity 3.0
you can find the templates in the unity folder : C:\Program Files\Unity\Editor\Data\Resources\WebPlayerTemplates
Yep - saw the templates… one was good for fixing the don’t show context menu issue.
Where in the html code do you put in
var params = {
backgroundcolor: “A0A0A0”,
bordercolor: “000000”,
textcolor: “FFFFFF”,
logoimage: “MyLogo.png”,
progressbarimage: “MyProgressBar.png”,
progressframeimage: “MyProgressFrame.png”
};
?
I tried this:
* function GetUnity()*
* {*
* if (typeof unityObject != “undefined”)*
* {*
* var params =*
* {*
* backgroundcolor: “000000”,*
* bordercolor: “000000”,*
* logoimage: “Technical_Designs_Splash.png”,
progressbarimage: “Technical_Designs_ProgressBar.png”,
progressframeimage: “Technical_Designs_ProgressFrame.png”
__ };__
__ return unityObject.getObjectById(“unityPlayer”);__
__ }__
__ return null;__
__ }__
__ if (typeof unityObject != “undefined”)__
__ {__
__ var params =__
__ {__
__ disableContextMenu: true*__
* };*
* unityObject.embedUnity(“unityPlayer”, “WebPlayer.unity3d”, 800, 600);*
* }*