예제 #1
0
 void SetUpRefs()
 {
     cam = Camera.main;
     postProcessingProfile = cam.GetComponent <PostProcessingBehaviour>().profile;
     cameraShake           = cam.GetComponent <CameraPerlinShake>();
     SetUp();
 }
예제 #2
0
파일: Bow.cs 프로젝트: greasybear/golem
 // Use this for initialization
 void Start()
 {
     lr    = GetComponent <LineRenderer>();
     shake = CameraController.i.GetComponentInChildren <CameraPerlinShake>();
 }