Firstborn/Library/PackageCache/com.unity.terrain-tools@4.0.3/Editor/TerrainTools/NoiseLib/NoiseComponent.cs
Schaken-Mods b486678290 Library -Artifacts
Library -Artifacts
2023-03-28 12:24:16 -05:00

20 lines
395 B
C#

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 );
}
}
}
}