完成所有UI界面的切换
This commit is contained in:
parent
a2225041ca
commit
a56a2add03
File diff suppressed because it is too large
Load Diff
@ -9,6 +9,8 @@ public class GameSceneBtn : MonoBehaviour
|
||||
public static Action OnSceneMouseBTN;
|
||||
private SceneSpriteAniationPro aniationPro;
|
||||
float time;
|
||||
public GameObject gotoscene;
|
||||
public GameObject nowScene;
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
@ -34,8 +36,8 @@ public class GameSceneBtn : MonoBehaviour
|
||||
|
||||
void JUmpScem()
|
||||
{
|
||||
Debug.Log("====");
|
||||
Promptmgr.Instance.PromptBubble("ÔÝδżŞˇĹ");
|
||||
gotoscene.SetActive(true);
|
||||
nowScene.SetActive(false);
|
||||
}
|
||||
|
||||
private void Update()
|
||||
|
@ -11,14 +11,14 @@ public class jinTols : MonoBehaviour
|
||||
public void OnMouseDown()
|
||||
{
|
||||
//SceneManager.LoadScene(JumpScene.cultivation_Jinsha_mine_slices);
|
||||
transform.DOScale(new Vector3(0.5f, 0.5f, 0.5f), 0.3f).SetEase(Ease.OutBack);
|
||||
//transform.DOScale(new Vector3(0.5f, 0.5f, 0.5f), 0.3f).SetEase(Ease.OutBack);
|
||||
StartCoroutine("Magnify");
|
||||
}
|
||||
|
||||
|
||||
IEnumerator Magnify()
|
||||
{
|
||||
transform.DOScale(Vector3.one, 0.5f).SetEase(Ease.OutBack);
|
||||
// transform.DOScale(Vector3.one, 0.5f).SetEase(Ease.OutBack);
|
||||
|
||||
gotoscene.SetActive(true);
|
||||
nowScene.SetActive(false);
|
||||
|
Loading…
Reference in New Issue
Block a user