Initial commit
This commit is contained in:
1 parent
ee9615239e
commit
16feac691f
4093 files changed
+1030491
No files matched your search
@@ -0,0 +1,24 @@
|
||||
#if UNITY_EDITOR
|
||||
using UnityEngine;
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
using UnityEditor.Experimental.TerrainAPI;
|
||||
#endif
|
||||
|
||||
namespace Gaia
|
||||
{
|
||||
public class NoiseComponent : MonoBehaviour
|
||||
{
|
||||
public Material mat;
|
||||
public NoiseSettings noiseSettings;
|
||||
|
||||
void Update()
|
||||
{
|
||||
if(mat != null)
|
||||
{
|
||||
noiseSettings.SetupMaterial( mat );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
Reference in new issue
Block a user