暂存
This commit is contained in:
1 parent
e7044b3cde
commit
cbc79df8a2
72 files changed
+15352
-444
No files matched your search
@@ -1,5 +1,5 @@
|
||||
using Assets.Cyp;
|
||||
using Assets.Scripts;
|
||||
using Assets.Scripts;
|
||||
using DG.Tweening;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System;
|
||||
@@ -20,6 +20,7 @@ public class LoginController : MonoBehaviour
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
transform.Find("RawImage").DOMove(new Vector3(0.5f,0.5f,0),1);
|
||||
if (login != null)
|
||||
{
|
||||
login.onClick.AddListener(Submit);
|
||||
@@ -59,6 +60,7 @@ public class LoginController : MonoBehaviour
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
Debug.Log($"{phone.isFocused}, ${pwd != null}, ${Input.GetKeyDown(KeyCode.Tab)}");
|
||||
if (phone.isFocused && pwd != null && Input.GetKeyDown(KeyCode.Tab))
|
||||
{
|
||||
pwd.ActivateInputField();
|
||||
|
||||
@@ -8,7 +8,7 @@ public class ButtonHoverScript : MonoBehaviour, IPointerExitHandler, IPointerEnt
|
||||
public void OnPointerEnter(PointerEventData eventData)
|
||||
{
|
||||
Debug.Log("鼠标悬浮");
|
||||
gameObject.transform.localScale = new Vector3(1.03f, 1.03f, 1f);
|
||||
gameObject.transform.localScale = new Vector3(1.01f, 1.01f, 1f);
|
||||
}
|
||||
|
||||
public void OnPointerExit(PointerEventData eventData)
|
||||
|
||||
Reference in new issue
Block a user