Unity 5 splat map replacement?

I’ve noticed that Unity 5 Terrains no longer have the drop-down that allows you to select their splat map directly. This also means the old scripts I use to replace splat maps don’t work anymore.

Is there any other script or method that would allow me to replace a Terrain’s splat map in Unity 5?

This script worked well for me.

All splatmap PNG’s import setting should RGBA 32 bit (not mentioned in the page). Otherwise you may loose quality because of compression, and you may also loose alpha. Before 2nd step, texture must have alpha, or it will not appear.

sevensixtytwo