settings
This commit is contained in:
25
Assets/Scripts/UI/Common/Items/AlertItem.Designer.cs
generated
Normal file
25
Assets/Scripts/UI/Common/Items/AlertItem.Designer.cs
generated
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 84369ab20bf2d024a862f3ec74340867
|
||||
20
Assets/Scripts/UI/Common/Items/AlertItem.cs
Normal file
20
Assets/Scripts/UI/Common/Items/AlertItem.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
2
Assets/Scripts/UI/Common/Items/AlertItem.cs.meta
Normal file
2
Assets/Scripts/UI/Common/Items/AlertItem.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f1c70c1b4e60af94c8316470514c6e53
|
||||
@@ -7,7 +7,7 @@ using NBC;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
public partial class NoticeItem
|
||||
public partial class NotificationItem
|
||||
{
|
||||
public const string URL = "ui://6hgkvlaur03uj7";
|
||||
|
||||
@@ -6,7 +6,7 @@ using NBC;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
public partial class NoticeItem : GComponent
|
||||
public partial class NotificationItem : GComponent
|
||||
{
|
||||
private void OnInited()
|
||||
{
|
||||
Reference in New Issue
Block a user