SplashScreen textures from editor script ?

I think it’s not possible but I could be wrong, is there any way to set the SplashScreen and Icon textures to the PlayerSettings through an Editor Script ?

I started a tool to optimize the building of several different builds within my project, just to get very surprised that it’s possible to have no way to set those textures through code…

I mean, it’s a basic feature that could allow automation of several tasks that are really annoying to do by hand and represent a big risk of making a mistake in a manual process.

So, is there any way or any workaround to do it ? couldn’t find info about this except some other posts of a few people with my same annoyance… I could find the xbox360 splash screen among the settings, so, why hide the others ???

Yes, they are in UnityEditor.PlayerSettings. For example,

UnityEditor.PlayerSettings.resolutionDialogBanner = myTexture2D;
UnityEditor.PlayerSettings.SetIconsForTargetGroup(UnityEditor.BuildTargetGroup.Standalone, myIconArray)

I was talking about the Splash Image, third group on the PlayerSettings.

Your answer doesn’t help me with that, but it’s really helpful with other thing I had in mind so thanks!

In the meanwhile, I’ll set a splash screen as transparent and create my own scene to show splash screens… :confused:

I just checked again. If you mean the part that is displayed in this image http://docs.unity3d.com/Documentation/Images/manual/class-PlayerSettings-6.jpg then UnityEditor.PlayerSettings.resolutionDialogBanner will change it.

Close but no, im looking for the ones available for the Android and iOS BuildTargets, with your answer I almost cry on joy but it’s not the same property :confused:

This are the properties I’m looking for:

My best guess is that they are placed on another Class that is hidden from us for no good reason.

Ah got it. Unfortunately, I am on windows. You can try looking in the UnityEditor.PlayerSettings.iOS. class.

Tried. Also PlayerSettings.Android… no luck :confused:

There’s a game subway surfer in that it shows here’s a tip for you splash image which is random at every start. So it is possible in android as well as iOS.