Files
GameDevTVObstacleDodge/Library/PackageCache/com.unity.cinemachine@5342685532bb/Editor/PropertyDrawers/NoiseSettingsPropertyDrawer.cs

15 lines
431 B
C#
Raw Normal View History

2026-01-08 16:50:20 +00:00
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");
}
}
}