Merge branch 'main' of http://shu.sheziwanglo.cn:3000/shurongsen/Cute_demon_attacks
This commit is contained in:
commit
8d99316014
File diff suppressed because it is too large
Load Diff
@ -9,6 +9,8 @@ public class GameSceneBtn : MonoBehaviour
|
|||||||
public static Action OnSceneMouseBTN;
|
public static Action OnSceneMouseBTN;
|
||||||
private SceneSpriteAniationPro aniationPro;
|
private SceneSpriteAniationPro aniationPro;
|
||||||
float time;
|
float time;
|
||||||
|
public GameObject gotoscene;
|
||||||
|
public GameObject nowScene;
|
||||||
// Start is called before the first frame update
|
// Start is called before the first frame update
|
||||||
void Start()
|
void Start()
|
||||||
{
|
{
|
||||||
@ -34,8 +36,8 @@ public class GameSceneBtn : MonoBehaviour
|
|||||||
|
|
||||||
void JUmpScem()
|
void JUmpScem()
|
||||||
{
|
{
|
||||||
Debug.Log("====");
|
gotoscene.SetActive(true);
|
||||||
Promptmgr.Instance.PromptBubble("ÔÝδżŞˇĹ");
|
nowScene.SetActive(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Update()
|
private void Update()
|
||||||
|
@ -11,14 +11,14 @@ public class jinTols : MonoBehaviour
|
|||||||
public void OnMouseDown()
|
public void OnMouseDown()
|
||||||
{
|
{
|
||||||
//SceneManager.LoadScene(JumpScene.cultivation_Jinsha_mine_slices);
|
//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");
|
StartCoroutine("Magnify");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
IEnumerator Magnify()
|
IEnumerator Magnify()
|
||||||
{
|
{
|
||||||
transform.DOScale(Vector3.one, 0.5f).SetEase(Ease.OutBack);
|
// transform.DOScale(Vector3.one, 0.5f).SetEase(Ease.OutBack);
|
||||||
|
|
||||||
gotoscene.SetActive(true);
|
gotoscene.SetActive(true);
|
||||||
nowScene.SetActive(false);
|
nowScene.SetActive(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user