// Use this for initialization void Start() { // grab scripts spearScript = spear.GetComponent <SpearFish>(); cameraScript = mainCamera.GetComponent <CameraMovement> (); rippleScript = rippleController.GetComponent <CreatePlayerRipple>(); }
// Use this for initialization void Start() { circleHeightFromCam = Camera.main.GetComponent <CameraMovement>().cameraDistance - circleHeight; rippleScript = rippleController.GetComponent <CreatePlayerRipple>(); }