void Start() { staffBuilder = GetComponent <StaffBuilder>(); barBuilder = GetComponent <BarBuilder>(); colourController = GetComponent <ColourController>(); foreach (Material mat in itemMaterials) { mat.color = colourController.getItem(); } globalData = GetComponent <GlobalData>(); colourController.SortColours(); UICamera.backgroundColor = mainCamera.backgroundColor; staffBuilder.GenerateStaff(); cameraFlash = flashCamera.GetComponent <CameraFlash>(); flashController = GetComponent <FlashController>(); }
public void BarBuilder_exists() { var actual = new BarBuilder(); Assert.IsInstanceOf <BarBuilder>(actual); }