24 lines
474 B
C#
24 lines
474 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using MotionFramework;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
/// <summary>
|
|
/// 游戏动态
|
|
/// </summary>
|
|
public class GameDynamicsManager : MonoBehaviour
|
|
{
|
|
private void Awake()
|
|
{
|
|
this.GetComponent<Button>().onClick.AddListener(HideUI);
|
|
}
|
|
|
|
private void HideUI()
|
|
{
|
|
Debug.Log("点击了");
|
|
MotionEngine.GetModule<JavaScriptCaller>().JumpToDynamics();
|
|
|
|
}
|
|
}
|