Esempio n. 1
0
 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>();
 }
Esempio n. 2
0
        public void BarBuilder_exists()
        {
            var actual = new BarBuilder();

            Assert.IsInstanceOf <BarBuilder>(actual);
        }