public bool CheckCGIsClear(string cgID) { var cfg = CGSceneConfig.GetConfigByKey(cgID); foreach (var pointID in cfg.pointIDs) { if (!m_pointInfos.ContainsKey(pointID) || !m_pointInfos[pointID].IsTouchMax()) { return(false); } } return(true); }
public void SetInfo(CGSceneConfig config) { gameObject.SetActive(true); }
public void SetSceneID(string sceneID) { SceneID = sceneID; SceneInfo = CGSceneConfig.GetConfigByKey(sceneID); }