制作新UI

This commit is contained in:
Bob.Song
2026-03-23 14:54:40 +08:00
parent aa73296249
commit 9685a415d3
51 changed files with 319 additions and 114 deletions

View File

@@ -0,0 +1,25 @@
/**本脚本为自动生成每次生成会覆盖请勿手动修改生成插件文档及项目地址https://git.whoot.com/whoot-games/whoot.fguieditorplugin**/
using FairyGUI;
using FairyGUI.Utils;
using NBC;
namespace NBF
{
public partial class BtnMainMenu
{
public const string URL = "ui://6hgkvlaujd2r17t";
public GImage selectLine;
public override void ConstructFromXML(XML xml)
{
base.ConstructFromXML(xml);
selectLine = (GImage)GetChild("selectLine");
OnInited();
UILanguage.TrySetComponentLanguage(this);
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: fca9f9d4ed378444289233a235ff417f

View File

@@ -0,0 +1,15 @@
// 本脚本只在不存在时会生成一次。组件逻辑写在当前脚本内。已存在不会再次生成覆盖
using UnityEngine;
using FairyGUI;
using NBC;
namespace NBF
{
public partial class BtnMainMenu : GButton
{
private void OnInited()
{
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 6e348502ac496944db6ee459d2eaa21f