Hi:
I have tried everything that I found and still can not get the getcomponent to work with a script reff. This is a sample of what I am trying to do, not just for BlurOptimized but i will like to access other standard asset components aswell.
using UnityStandardAssets.ImageEffects; //ImageEffect does not exist in namespace
public class PlayMode : MonoBehaviour
{
public BlurOptimized camBlur; //"BlurOptimized" could not be found
public GameObject camObj;
void Awake()
{
camBlur = camObj.GetComponent<BlurOptimized>(); //"BlurOptimized" could not be found
}
void SomeMethod()
{
camBlur.blurSize = 0; //can not get this to work
}
}
Thanks: James