public void Start() { // Subscribe to events: EditorView.OnGoBack += EditorView_OnGoBack; // Cache task: _task = TasksModel.GetTask(TaskID); InstructionsController.TaskModel = _task; InstructionsController.NetworkManager = NetworkManager; InstructionsController.CameraManager = CameraManager; // Activate image target: Application.View.ImageTargets.ActivateImageTarget(_task.ImageTargetIndex); // If the task hasn't got any steps, add a default one: if (_task.StepCount == 0) { _task.CreateStep(); } }