Firstborn/Library/PackageCache/com.unity.terrain-tools@4.0.5/Editor/TerrainTools/NoiseLib/NoiseComponent.cs
Schaken-Mods 4ff395c862 Finished the NPC Creator tool
Finished the NPC Creator tool
2023-04-27 18:37:28 -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 );
}
}
}
}