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

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

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

            DrawPropertiesExcluding(serializedObject, ExcludedFields);

            serializedObject.ApplyModifiedProperties();
        }
    }
}
#endif