﻿#if UNITY_EDITOR
using UnityEditor;
using UnityEngine;

namespace JLGames.RocketDriver.Actions.Loaderx
{
    [CustomPropertyDrawer(typeof(BundleSourceStreaming), true)]
    class BundleSourceStreamingDrawer : PropertyDrawer
    {
        public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
        {
            EditorGUI.PropertyField(position, property.FindPropertyRelative("m_SteamingPattern"));
//            EditorGUILayout.PropertyField(property.FindPropertyRelative("m_SteamingPattern"));
        }
    }
}
#endif