修正资源目录

修正资源目录
This commit is contained in:
ALEXTANG
2022-08-03 16:10:44 +08:00
parent 060abe40ee
commit 8dd62fc56b
8 changed files with 2106 additions and 124 deletions

Binary file not shown.

View File

@@ -1,33 +0,0 @@
fileFormatVersion: 2
guid: 2984922c45abd6249bb8ec1aee5f8208
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
- first:
Windows Store Apps: WindowsStoreApps
second:
enabled: 0
settings:
CPU: AnyCPU
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,21 +0,0 @@
using TEngineCore.Net;
namespace TEngineCore
{
public class TEngineNetDemo : TEngineCore.TEngine
{
protected override void RegisterAllSystem()
{
base.RegisterAllSystem();
AddLogicSys(UISys.Instance);
AddLogicSys(DataCenterSys.Instance);
}
protected override void StartGame()
{
UISys.Mgr.ShowWindow<TEngineLoginUI>();
GameClient.Instance.Connect("127.0.0.1", 54809,true);
}
}
}

View File

@@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 091015446be02ff4eb886963dbe15d74
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,57 +0,0 @@
using TEngineCore;
using TEngineCore.Net;
using TEngineProto;
using UnityEngine;
using UnityEngine.UI;
namespace TEngineCore
{
public class TEngineLoginUI : UIWindow
{
#region
private Image m_imgbg;
private Text m_textTittle;
private Text m_textVer;
private Image m_imgLogo;
private GameObject m_goLoading;
private GameObject m_goLoginRoot;
private InputField m_inputName;
private InputField m_inputPassword;
private Button m_btnLogin;
protected override void ScriptGenerator()
{
m_imgbg = FindChildComponent<Image>("m_imgbg");
m_textTittle = FindChildComponent<Text>("m_textTittle");
m_textVer = FindChildComponent<Text>("m_textVer");
m_imgLogo = FindChildComponent<Image>("m_imgLogo");
m_goLoading = FindChild("m_goLoading").gameObject;
m_goLoginRoot = FindChild("m_goLoginRoot").gameObject;
m_inputName = FindChildComponent<InputField>("m_goLoginRoot/m_inputName");
m_inputPassword = FindChildComponent<InputField>("m_goLoginRoot/m_inputPassword");
m_btnLogin = FindChildComponent<Button>("m_goLoginRoot/m_btnLogin");
m_btnLogin.onClick.AddListener(OnClickLoginBtn);
}
#endregion
#region
private void OnClickLoginBtn()
{
var loginPack = new MainPack();
loginPack.Requestcode = RequestCode.User;
loginPack.Actioncode = ActionCode.Login;
loginPack.LoginPack = new LoginPack
{
Username = m_inputName.text,
Password = m_inputName.text,
};
GameClient.Instance.SendCsMsg(loginPack, CallBack);
}
private void CallBack(MainPack pack)
{
TLogger.LogInfoSuccessd("MainPack" + pack);
}
#endregion
}
}

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: c5415c6c1796e4d46a895770f5ed37cc
guid: 66aaf21cc3acb3144b4ca52f3d321949
folderAsset: yes
DefaultImporter:
externalObjects: {}

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 71f5f66a7f8111144af95af151ddf080
guid: 594add508af9d364c856aee347ccac38
MonoImporter:
externalObjects: {}
serializedVersion: 2