// Use this for initialization void Start() { mouselook.Init(transform, fp_cam.transform); rb = GetComponent <Rigidbody>(); state = GetComponent <mosquito_state>(); fp_cam_pos = fp_cam.transform.localPosition; tp_cam_pos = tp_cam.transform.localPosition; suck = GetComponent <mosquito_suck>(); }
// Use this for initialization void Start() { blood_bar.fillAmount = 0; state = GetComponent <mosquito_state>(); }