Compare commits

..

2 Commits

3 changed files with 509 additions and 236 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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()

View File

@ -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);