25 lines
550 B
C#
25 lines
550 B
C#
// 本脚本只在不存在时会生成一次。组件逻辑写在当前脚本内。已存在不会再次生成覆盖
|
|
|
|
using System;
|
|
using UnityEngine;
|
|
using FairyGUI;
|
|
using NBC;
|
|
|
|
namespace NBF
|
|
{
|
|
public partial class BtnTitleInputControl : GButton
|
|
{
|
|
public string ActionName;
|
|
public string ShowName;
|
|
|
|
private void OnInited()
|
|
{
|
|
}
|
|
|
|
public void SetData(string actionName, string showName)
|
|
{
|
|
this.ActionName = actionName;
|
|
this.ShowName = showName;
|
|
}
|
|
}
|
|
} |