Question by 
               SrGonzalez · Aug 26, 2016 at 05:18 PM · 
                getcomponentmonobehaviourbloompost effects  
              
 
              getComponent requires that the requested component 'BloomQuality' derives from monoBehaviour or component or is an interface
im trying to get acces to the script 'Bloom' that is type 'PostEffectsBase'
. using UnityEngine; using System; using UnityEngine.UI; using System.Collections;
namespace UnityStandardAssets.ImageEffects { public class GRAPHICCONTROL : MonoBehaviour { public Slider bloom; public Slider shafts;
     // Update is called once per frame
     void Update()
     {
         SunShafts shafts_Q = GetComponent<SunShafts>();
         Bloom.BloomQuality bloom_Q = GetComponent<Bloom.BloomQuality>();
         //bloom
         if(bloom.value == 1)
         {
             bloom_Q = Bloom.BloomQuality.High;
         }
         if (bloom.value == 2)
         {
             bloom_Q = Bloom.BloomQuality.Cheap;
         }
     }
 }
 
               }
               Comment
              
 
               
              Your answer