Firstborn/Library/PackageCache/com.unity.terrain-tools@4.0.3/Editor/TerrainTools/NoiseLib/NoiseComponent.cs

20 lines
395 B
C#
Raw Normal View History

2023-03-28 13:24:16 -04:00
using UnityEngine;
using UnityEditor;
using UnityEditor.TerrainTools;
namespace UnityEngine.TerrainTools
{
internal class NoiseComponent : MonoBehaviour
{
public Material mat;
public NoiseSettings noiseSettings;
void Update()
{
if(mat != null)
{
noiseSettings.SetupMaterial( mat );
}
}
}
}