28 lines
588 B
C#
28 lines
588 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.SceneManagement;
|
|
using System;
|
|
public class JinshaBtn : MonoBehaviour
|
|
{
|
|
public static Action OnSceneMouseBTN;
|
|
// Start is called before the first frame update
|
|
void Start()
|
|
{
|
|
OnSceneMouseBTN += JUmpScem;
|
|
}
|
|
|
|
|
|
private void OnMouseDown()
|
|
{
|
|
//SceneManager.LoadScene(JumpScene.cultivation_Jinsha_mine_slices);
|
|
OnSceneMouseBTN();
|
|
}
|
|
|
|
|
|
void JUmpScem()
|
|
{
|
|
SceneManager.LoadScene(JumpScene.cultivation_Jinsha_mine_slices);
|
|
}
|
|
}
|