﻿#if UNITY_EDITOR
using UnityEditor;
using UnityEngine;

namespace JLGames.RocketDriver.Samples.PanelDemo
{
    public class MenuTestPanel
    {
        [MenuItem("Tools/RocketDriver Samples/Test PanelExtend.PrintParamsJson", false, 120)]
        static void PrintParamsJson()
        {
            var @params = new PanelExtend.PanelExtendParams
            {
                Param1 = 666,
                Param2 = "HelloWorld"
            };
            var json = JsonUtility.ToJson(@params);
            Debug.Log(json);
        }
    }
}
#endif