Beispiel #1
0
 void Start()
 {
     if (console != null)
     {
         console.logChanged += onLogChanged;
     }
     updateLogStr(console.log);
     inputField.caretWidth = 10;
     console.AssignImageEffect(gameCam.GetComponent <ImageEffect> ());
     console.AssignConsoleView(this);
     audioSource = GetComponent <AudioSource> ();
     siren       = transform.Find("Alarm").GetComponent <AudioSource>();
     console.Start();
 }