37 lines
612 B
C#
37 lines
612 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class GuoLuAnLi : MonoBehaviour
|
|
{
|
|
public GameObject ViewPage;
|
|
public int MoiveNum;
|
|
|
|
private void OnEnable()
|
|
{
|
|
ToOpenSelectMoive(MoiveNum);
|
|
}
|
|
|
|
private void OnDisable()
|
|
{
|
|
GuoLuManager.Instance.ToEndVideo(MoiveNum);
|
|
}
|
|
|
|
// Start is called before the first frame update
|
|
void Start()
|
|
{
|
|
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
|
|
public void ToOpenSelectMoive(int num)
|
|
{
|
|
GuoLuManager.Instance.ToStartVideo(num);
|
|
}
|
|
}
|