- Home /
Problems customizing the loading screen
I have tried using the documentation on this as well as following several board postings but cannot get the unity player to accept my custom loading logo.
To be specific, it does work in IE, but not firefox and chrome. Background colors change just fine, but logo will not and I've tried relative and absolute paths to the img.
Here is my embed code:
function GetUnity() {
if (typeof unityObject != "undefined") {
return unityObject.getObjectById("unityPlayer");
}
return null;
}
if (typeof unityObject != "undefined") {
var params = {
backgroundcolor: "4e0001",
bordercolor: "ffffff",
textcolor: "FFFFFF",
logoimage: "img/loadinglogo.png",
progressbarimage: "/img/prog-bar.jpg",
progressframeimage: "../img/prog-bar.jpg"
};
unityObject.embedUnity("unityPlayer", "slots/<?php echo($unityPlayerName) . $initString ?>", 760, 570, params);//);
}
What if you make Logoimage a var and select the image via inspector? $$anonymous$$aybe that makes the path different. Just a guess really.
Answer by dylan92 · Jun 05, 2012 at 04:08 PM
I had the same problem. Try changing your images from JPEG to PNG. That worked for me.
Your answer
Follow this Question
Related Questions
getting dx9 error. happened overnight 0 Answers
HELP!!!! GetAxis to Accelerometer :) 0 Answers
Quaternion XYZW negate returns diffrent orientation 1 Answer
Blender Skybox vs Unity Skybox? 1 Answer