minigame-tuanjie-transform-sdk/Editor/BuildProfile/WeixinMiniGameSettingsEditor.cs

39 lines
1.2 KiB
C#
Raw Normal View History

2026-01-12 15:50:13 +08:00
#if TUANJIE_1_6_OR_NEWER
2025-11-06 11:21:09 +08:00
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using UnityEditor;
using UnityEditor.Build.Profile;
using UnityEngine;
using static WeChatWASM.WXConvertCore;
namespace WeChatWASM
{
public class WeixinMiniGameSettingsEditor : MiniGameSettingsEditor
{
private Vector2 scrollRoot;
private bool foldBaseInfo = true;
private bool foldLoadingConfig = true;
private bool foldSDKOptions = true;
private bool foldDebugOptions = true;
private bool foldInstantGame = false;
private bool foldFontOptions = false;
private Dictionary<string, string> formInputData = new Dictionary<string, string>();
private Dictionary<string, int> formIntPopupData = new Dictionary<string, int>();
private Dictionary<string, bool> formCheckboxData = new Dictionary<string, bool>();
public Texture tex;
2026-04-15 21:14:41 +08:00
public WXSettingsHelper helper = new WXSettingsHelper();
2025-11-06 11:21:09 +08:00
2026-04-15 21:14:41 +08:00
public override void OnMiniGameSettingsIMGUI(SerializedObject serializedObject, SerializedProperty miniGameProperty)
2025-11-06 11:21:09 +08:00
{
2026-04-15 21:14:41 +08:00
helper.OnSettingsGUI(serializedObject, miniGameProperty);
2025-11-06 11:21:09 +08:00
}
}
}
#endif