进入地图相关内容
This commit is contained in:
@@ -12,6 +12,8 @@ namespace NBF
|
||||
UIObjectFactory.SetPackageItemExtension(FishingStateInfo.URL, typeof(FishingStateInfo));
|
||||
UIObjectFactory.SetPackageItemExtension(InteractiveTag.URL, typeof(InteractiveTag));
|
||||
UIObjectFactory.SetPackageItemExtension(FishingPower.URL, typeof(FishingPower));
|
||||
UIObjectFactory.SetPackageItemExtension(FishingTeam.URL, typeof(FishingTeam));
|
||||
UIObjectFactory.SetPackageItemExtension(TeamItem.URL, typeof(TeamItem));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -32,6 +32,8 @@ namespace NBF
|
||||
public InteractiveTag Interactive;
|
||||
[AutoFind(Name = "OperationTips")]
|
||||
public GList OperationTips;
|
||||
[AutoFind(Name = "Team")]
|
||||
public FishingTeam Team;
|
||||
public override string[] GetDependPackages(){ return new string[] {"Common"}; }
|
||||
|
||||
public static void Show(object param = null){ App.UI.OpenUI<FishingPanel>(param); }
|
||||
|
||||
33
Assets/Scripts/UI/FishingTeam.Designer.cs
generated
Normal file
33
Assets/Scripts/UI/FishingTeam.Designer.cs
generated
Normal file
@@ -0,0 +1,33 @@
|
||||
/**本脚本为自动生成,每次生成会覆盖!请勿手动修改,生成插件文档及项目地址:https://git.whoot.com/whoot-games/whoot.fguieditorplugin**/
|
||||
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
using NBC;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
public partial class FishingTeam
|
||||
{
|
||||
public const string URL = "ui://682kb9n0o9ci1u";
|
||||
|
||||
public CommonInput TeamInput;
|
||||
public GButton BtnCreate;
|
||||
public GButton BtnJoin;
|
||||
public GButton BtnExit;
|
||||
public GList List;
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
TeamInput = (CommonInput)GetChild("TeamInput");
|
||||
BtnCreate = (GButton)GetChild("BtnCreate");
|
||||
BtnJoin = (GButton)GetChild("BtnJoin");
|
||||
BtnExit = (GButton)GetChild("BtnExit");
|
||||
List = (GList)GetChild("List");
|
||||
OnInited();
|
||||
UILanguage.TrySetComponentLanguage(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
2
Assets/Scripts/UI/FishingTeam.Designer.cs.meta
Normal file
2
Assets/Scripts/UI/FishingTeam.Designer.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7cc6ec326ea4bf54faf7e071cb31c12a
|
||||
15
Assets/Scripts/UI/FishingTeam.cs
Normal file
15
Assets/Scripts/UI/FishingTeam.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
// 本脚本只在不存在时会生成一次。组件逻辑写在当前脚本内。已存在不会再次生成覆盖
|
||||
|
||||
using UnityEngine;
|
||||
using FairyGUI;
|
||||
using NBC;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
public partial class FishingTeam : GComponent
|
||||
{
|
||||
private void OnInited()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
2
Assets/Scripts/UI/FishingTeam.cs.meta
Normal file
2
Assets/Scripts/UI/FishingTeam.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 50df4e31a0175034284645c94c611056
|
||||
@@ -27,7 +27,7 @@ namespace NBF
|
||||
private async FTask OnLoginClick()
|
||||
{
|
||||
await LoginHelper.Login(InputAccount.text);
|
||||
await MapHelper.EnterMap(99);
|
||||
// await MapHelper.EnterMap(99);
|
||||
Del();
|
||||
}
|
||||
}
|
||||
|
||||
27
Assets/Scripts/UI/TeamItem.Designer.cs
generated
Normal file
27
Assets/Scripts/UI/TeamItem.Designer.cs
generated
Normal file
@@ -0,0 +1,27 @@
|
||||
/**本脚本为自动生成,每次生成会覆盖!请勿手动修改,生成插件文档及项目地址:https://git.whoot.com/whoot-games/whoot.fguieditorplugin**/
|
||||
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
using NBC;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
public partial class TeamItem
|
||||
{
|
||||
public const string URL = "ui://682kb9n0oso11t";
|
||||
|
||||
public GTextField title;
|
||||
public GTextField TextScore;
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
title = (GTextField)GetChild("title");
|
||||
TextScore = (GTextField)GetChild("TextScore");
|
||||
OnInited();
|
||||
UILanguage.TrySetComponentLanguage(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
2
Assets/Scripts/UI/TeamItem.Designer.cs.meta
Normal file
2
Assets/Scripts/UI/TeamItem.Designer.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5181414dcb090564cb84e5d71ff24841
|
||||
15
Assets/Scripts/UI/TeamItem.cs
Normal file
15
Assets/Scripts/UI/TeamItem.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
// 本脚本只在不存在时会生成一次。组件逻辑写在当前脚本内。已存在不会再次生成覆盖
|
||||
|
||||
using UnityEngine;
|
||||
using FairyGUI;
|
||||
using NBC;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
public partial class TeamItem : GComponent
|
||||
{
|
||||
private void OnInited()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
2
Assets/Scripts/UI/TeamItem.cs.meta
Normal file
2
Assets/Scripts/UI/TeamItem.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f0259ab9ca7292a4c976d275b5ce71bc
|
||||
Reference in New Issue
Block a user