You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
766 B

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
namespace UnityEngine.UCMobile
{
using Settings = UCNoise.Settings;
[UCMobileEditorAttribute(typeof(UCNoise))]
public class UCNoiseEditor : UCMobileModelEditor
{
SerializedProperty pos_scale;
SerializedProperty time_scale;
public override void OnEnable()
{
title = "Noise";
pos_scale = FindSetting((Settings x) => x.pos_scale);
time_scale = FindSetting((Settings x) => x.time_scale);
}
public override void OnInspectorGUI()
{
EditorGUILayout.PropertyField(pos_scale);
EditorGUILayout.PropertyField(time_scale);
}
}
}