﻿#if UNITY_EDITOR
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;

namespace Onward.CustomContent.Assets
{
    [CustomEditor(typeof(ObjectiveOpHunt))]
    public class ObjectiveOpHuntEditor : Editor
    {
        private static readonly string[] ExcludedFields = new string[] { "DefendingTeamSpawns" };

        public override void OnInspectorGUI()
        {
            serializedObject.Update();

            DrawPropertiesExcluding(serializedObject, ExcludedFields);

            serializedObject.ApplyModifiedProperties();
        }
    }
}
#endif