/// Makes sure the curve textures and control textures are in a consistent state.
 private void EnsureTexturesInited()
 {
     if (GrassTextures.Count == 0)
     {
         GrassTextures.Add(GetDefaultGrassTexture());
     }
 }
 /// Destroy a texture from the list at the given position.
 public void RemoveGrassTexture(int index)
 {
     GrassTextures.RemoveAt(index);
 }
 /// Adds new texture to the end of the list.
 public void AppendGrassTexture()
 {
     GrassTextures.Add(GetDefaultGrassTexture());
 }