42 lines
1.1 KiB
C#
42 lines
1.1 KiB
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.Playables;
|
|
|
|
public class MapFlowManager : MonoBehaviour
|
|
{
|
|
public PlayableDirector playableDirector;
|
|
public GameObject obj;
|
|
void Start()
|
|
{
|
|
//XUIPanel.ShowPanel<ExamDataPanel>("ѲÏß¹¤µ¥Ç©ÊÕ");
|
|
obj.SetActive(false);
|
|
Invoke("Delay", 12f);
|
|
}
|
|
void Delay()
|
|
{
|
|
// XUIPanel.ShowPanel<AssignmentPanel>();
|
|
playableDirector.Pause();
|
|
obj.gameObject.SetActive(true);
|
|
UIManager.Instance.assignmentController.ChangeRWPanelPos();
|
|
}
|
|
private void Update()
|
|
{
|
|
//if (Input.GetKey(KeyCode.P))
|
|
//{
|
|
// //Camera.main.transform.GetComponent<FadeInOut>().OpenImage(true);
|
|
// RuralPowerAPI api = new RuralPowerAPI();
|
|
// string url = ScenesRecorder._Ip;
|
|
// string endExamMsg = api.EndExam(url, ScenesRecorder.user.ExamId, ScenesRecorder.user.user_id);
|
|
|
|
// if (string.IsNullOrEmpty(endExamMsg))
|
|
// {
|
|
// }
|
|
// else
|
|
// {
|
|
// Debug.Log(endExamMsg);
|
|
// }
|
|
//}
|
|
}
|
|
}
|