private void MainWindow_Loaded(object sender, RoutedEventArgs e) { Core.SetWnd(this); CuelistCtrl.Init(); FollowCtrl.Init(); GoCtrl.Init(); LogCtrl.Init(); LogCtrl.Status("CueController 3.43b"); MidiController.Init(); MidiInputCtrl.Init(); MidiOutputCtrl.Init(); PbCtrl.Init(); BeamerlistCtrl.Init(); RecentFilesCtrl.Init(); ReadWriteCtrl.Init(); MatrixCtrl.Init(); ScriptlistCtrl.Init(); CopyCutCtrl.Init(); OscCtrl.Init(); OscListCtrl.Init(); string[] args = Environment.GetCommandLineArgs(); if (args.Length >= 2) { ReadWriteCtrl.Read(args[1]); } }
void Awake() { Speed = GetComponent <FollowCtrl>(); beam.localScale = new Vector3(x, 1.0f, 1.0f); Beam.SetActive(false); edge.enabled = false; }