using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Playables; public class WorkProgramPage : MonoBehaviour { public List m_ActiveObjs = new List(); private void OnEnable() { foreach (GameObject obj in m_ActiveObjs) { obj.SetActive(true); } } public void StartTimeLine() { GameObject.Find("Animation Meshes/ÔËÊä³µ").GetComponent().enabled = true; GameObject.Find("Animation Meshes").GetComponent().Play();//= true; } }