예제 #1
0
 void Start()
 {
     //mBlur = Camera.main.gameObject.GetComponent<MotionBlur> ();
     //sManager = Camera.main.gameObject.GetComponent<Scare_Manager> ();
     mBlur         = GameObject.FindWithTag("MainCamera").GetComponent <MotionBlur> ();
     sManager      = GameObject.FindWithTag("MainCamera").GetComponent <Scare_Manager> ();
     mBlur.enabled = false;
 }
예제 #2
0
 void Start()
 {
     sManager = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <Scare_Manager> ();
 }