- Home /
Changing splash screen using an editor script
Hi,
I can easily change the splash screen of my application (I'm using a Pro version) using the editor but I need to do it using an Editor's script.
I found how to change application's icon and even splash screen's scale mode (for Android platform) but not the splash screen itself...
Am I missing something obvious ?
Sorry but no. There's still no way to set the splash image using provided class. I did not spent time trying to do it using non-public classes, that may be feasible but I would not recommend it. You can still do what Rod Green proposed, that's what I did myself.
Answer by Rod-Green · Nov 10, 2011 at 07:51 PM
Oh I thought this was to set the splashscreen while playing not in the editor. My bad.
I don't see a direct method to do this but in any case can't you just replace the image that's set with the image you wish to use?
i.e. set the splash to be splashImage.png..
And then in a editor script just copy a new image over the top of the old one.
Yeap, thanks, that's what I've already done waiting for Unity to support this feature (or me finding how it supports it)
Answer by DaveA · Nov 10, 2011 at 07:55 PM
It looks like it should be here: http://unity3d.com/support/documentation/ScriptReference/PlayerSettings.Android.html
but if it is possible, my guess is it's an undocumented feature. Vote for it at feedback.unity3d.com
Yeap, thanks, I've already done it but it seems ideas are hardly followed