Files
Hasebe/Library/PackageCache/com.unity.cinemachine@1b8d58983403/Editor/PropertyDrawers/NoiseSettingsPropertyDrawer.cs
T
2026-09-24 20:49:06 +03:00

15 lines
431 B
C#

using UnityEditor;
using UnityEngine.UIElements;
namespace Unity.Cinemachine.Editor
{
[CustomPropertyDrawer(typeof(NoiseSettings))]
class NoiseSettingsPropertyDrawer : PropertyDrawer
{
public override VisualElement CreatePropertyGUI(SerializedProperty property)
{
return EmbeddedAssetEditorUtility.AssetSelectorWithPresets<NoiseSettings>(property, null, "Presets/Noise");
}
}
}