This commit is contained in:
Bob.Song
2026-03-25 17:07:05 +08:00
parent 09540ad1a8
commit 830cf3c354
141 changed files with 537 additions and 197 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 AlertItem
{
public const string URL = "ui://6hgkvlaur7eg18m";
public Controller show;
public override void ConstructFromXML(XML xml)
{
base.ConstructFromXML(xml);
show = GetController("show");
OnInited();
UILanguage.TrySetComponentLanguage(this);
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 84369ab20bf2d024a862f3ec74340867

View File

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

View File

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

View File

@@ -7,7 +7,7 @@ using NBC;
namespace NBF
{
public partial class NoticeItem
public partial class NotificationItem
{
public const string URL = "ui://6hgkvlaur03uj7";

View File

@@ -6,7 +6,7 @@ using NBC;
namespace NBF
{
public partial class NoticeItem : GComponent
public partial class NotificationItem : GComponent
{
private void OnInited()
{