Shaders: Unity applies materials to parts of a mesh.

How can I apply materials to a part of a mesh in Unity? As an example, I would like to place the grass in the first half of an airplane and the rocks in the second half.

And if possible, how can I manage the transitions between those materials? As for not having a clear line between both materials. (Something like the coefficients I suppose?)