31 lines
963 B
C#
31 lines
963 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
/*******************************************************************************
|
|
*Create By CG
|
|
*Function ¿¼ÊÔ»ùÀà
|
|
*******************************************************************************/
|
|
namespace ZXK.ZPS
|
|
{
|
|
public class ExamBaseCtrl : MonoBehaviour
|
|
{
|
|
public virtual void ShowSecond()
|
|
{
|
|
Debug.Log(transform.gameObject.name+"??????????"+"¸¸ÎïÌåÃû×ÖÊÇ"+transform.parent.name);
|
|
transform.gameObject.SetActive(true);
|
|
GameRoot.Instance._DataUICtrl.OpenTool();
|
|
}
|
|
|
|
public virtual void HideSecond()
|
|
{
|
|
transform.gameObject.SetActive(false);
|
|
}
|
|
public virtual void ToolSubmitBtn(List<string> tools)
|
|
{
|
|
List<string> result = GameRoot.Instance._DataUICtrl.GetSelectTools();
|
|
GameRoot.Instance._ExamMng.SetCurExamData(result.ToArray());
|
|
GameRoot.Instance._ExamMng.Play();
|
|
HideSecond();
|
|
}
|
|
}
|
|
} |