// Start is called before the first frame update public IEnumerator Start() { // Debug.Log("##################### after Demo = " + Application.targetFrameRate + " : " + QualitySettings.vSyncCount); yamlParser.Display(); yield return(StartCoroutine(yamlParser.GetYaml())); yamlParser.YamlLoader(); yamlParser.SetLinks(); if (Global.showAnimation == 1) { yield return(StartCoroutine(configParser.GetYaml())); configParser.YamlLoader(); buttonControl.SetConfigObject(configParser.GetDynamicConfigObject()); billBoard.SetConfigObject(configParser.GetDynamicConfigObject()); graphInput.SetConfigObject(configParser.GetDynamicConfigObject()); slideShow.SetConfigObject(configParser.GetDynamicConfigObject()); anim.SetConfigObject(configParser.GetDynamicConfigObject()); yield return(StartCoroutine(graphInput.GraphInitStart())); } topo.SetParameters(yamlParser.GetHostNames(), yamlParser.GetSwitchNames(), yamlParser.GetSatelliteNames(), yamlParser.GetDropperNames(), yamlParser.GetSwitchHostLinks(), yamlParser.GetSatelliteLinks()); topo.Display(); topo.GetPosition(); topo.DisplayTopology(); if (Global.showAnimation == 1) { billBoard.BillBoardInit(); introTag.IntroTagInit(configParser.GetDynamicConfigObject()); // yield return StartCoroutine(anim.GetElapsedTimeFile()); // anim.StartAnimation(); yield return(StartCoroutine(anim.GetMetadataFile())); yield return(StartCoroutine(anim.WriteFile())); anim.AnimationInit(); } }