23 lines
466 B
C#
23 lines
466 B
C#
using DefaultNamespace;
|
|
using MotionFramework;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class SubOpen : MonoBehaviour
|
|
{
|
|
|
|
public List<GameObject> SUB;
|
|
private void Awake()
|
|
{
|
|
for (int i = 0; i < SUB.Count; i++)
|
|
{
|
|
if (MotionEngine.GetModule<GlobalDataStorage>().ExamName.Contains(SUB[i].name))
|
|
{
|
|
SUB[i].SetActive(true);
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|