// Use this for initialization void Start() { level1Story = this.GetComponent("Level1StoryScript") as Level1StoryScript; newtonLevel1Controller = GameObject.Find("Newton").GetComponent("NewtonLevel1Controller") as NewtonLevel1Controller; newtonLevel1Controller.enabled = false; gameController = GameObject.Find("Controller").GetComponent("GameController") as GameController; consoleController = GameObject.Find("console").GetComponent("ConsoleController") as ConsoleController; student = GameObject.FindWithTag("Player").GetComponent("StudentModel") as StudentModel; ramTrigger = GameObject.Find("ram").GetComponent("RamTrigger") as RamTrigger; hovercraftController = GameObject.Find("hovercraft").GetComponent("HoverCraftController") as HoverCraftController; ramTrigger.RamKilledEvent += ramKilledListener; hovercraftController.SquashFailEvent += squashFailListener; }