登录脚本
This commit is contained in:
parent
14ed69769c
commit
6fd35d739c
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c5b1839bbbe1e494faf78bb0559cda3a
|
||||
guid: 6b69b5b87eec1294a83a011db6146d4c
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
|
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ce317dc0bb78cd54b84bef351461ff44
|
||||
guid: 488ef2130110f294c9514fb87604a470
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 23800000
|
||||
|
8
xiaofang/Assets/Scenes/Tmap_1.meta
Normal file
8
xiaofang/Assets/Scenes/Tmap_1.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c5b1839bbbe1e494faf78bb0559cda3a
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
xiaofang/Assets/Scenes/Tmap_1/NavMesh.asset
Normal file
BIN
xiaofang/Assets/Scenes/Tmap_1/NavMesh.asset
Normal file
Binary file not shown.
8
xiaofang/Assets/Scenes/Tmap_1/NavMesh.asset.meta
Normal file
8
xiaofang/Assets/Scenes/Tmap_1/NavMesh.asset.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ce317dc0bb78cd54b84bef351461ff44
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 23800000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -741,6 +741,7 @@ GameObject:
|
||||
- component: {fileID: 252707971}
|
||||
- component: {fileID: 252707973}
|
||||
- component: {fileID: 252707972}
|
||||
- component: {fileID: 252707975}
|
||||
- component: {fileID: 252707974}
|
||||
m_Layer: 5
|
||||
m_Name: LoginPanel
|
||||
@ -821,6 +822,28 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: f381a54ea0a90e3448e8ae6e3cf61375, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
token:
|
||||
clientId: e5cd7e4891bf95d1d19206ce24a7b32e
|
||||
--- !u!114 &252707975
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 252707970}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 764bdc3f3af765b46a38c1133bfcbd2f, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
pwdLoginBtn: {fileID: 0}
|
||||
yzmLoginBtn: {fileID: 0}
|
||||
loginBtn: {fileID: 0}
|
||||
getYzmBtn: {fileID: 1341634595}
|
||||
id: {fileID: 998972941}
|
||||
pwd: {fileID: 1477048540}
|
||||
sjh: {fileID: 691978845}
|
||||
yzm: {fileID: 2052614155}
|
||||
--- !u!1 &287371580
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -1029,7 +1052,7 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 320, y: -252}
|
||||
m_AnchoredPosition: {x: 320, y: -180}
|
||||
m_SizeDelta: {x: 638.6714, y: 72}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &481102586
|
||||
@ -1187,7 +1210,7 @@ GameObject:
|
||||
- component: {fileID: 691978844}
|
||||
- component: {fileID: 691978843}
|
||||
m_Layer: 5
|
||||
m_Name: id (1)
|
||||
m_Name: sjh
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
|
@ -1,18 +0,0 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class loginPanel : MonoBehaviour
|
||||
{
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
8
xiaofang/Assets/Script/loginScripts.meta
Normal file
8
xiaofang/Assets/Script/loginScripts.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9cb5921f36b0fa9428b9bde4fefe890f
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
52
xiaofang/Assets/Script/loginScripts/LoginPanel.cs
Normal file
52
xiaofang/Assets/Script/loginScripts/LoginPanel.cs
Normal file
@ -0,0 +1,52 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class LoginPanel : MonoBehaviour
|
||||
{
|
||||
public Button pwdLoginBtn;
|
||||
public Button yzmLoginBtn;
|
||||
public Button loginBtn;
|
||||
public Button getYzmBtn;
|
||||
public InputField id;
|
||||
public InputField pwd;
|
||||
public InputField sjh;
|
||||
public InputField yzm;
|
||||
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
pwdLoginBtn.onClick.AddListener(OnClickPwdLoginBtn);
|
||||
yzmLoginBtn.onClick.AddListener(OnClickYzmLoginBtn);
|
||||
loginBtn.onClick.AddListener(OnClickLoginBtn);
|
||||
getYzmBtn.onClick.AddListener(OnClickGetYzmBtn);
|
||||
}
|
||||
|
||||
public void OnClickGetYzmBtn()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void OnClickLoginBtn()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void OnClickYzmLoginBtn()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void OnClickPwdLoginBtn()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b75bb6500d750284287f0b3dcbbaf1b1
|
||||
guid: 764bdc3f3af765b46a38c1133bfcbd2f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
Loading…
Reference in New Issue
Block a user