I am probably getting this error due to my lack of programming knowledge, but I am trying to impliment a zoom-to-mouse function. But after adding it in under Update() I get the error in the title.
private void ZoomOrthoCamera(Vector3 zoomTowards, float amount)
{
*snip*
}
I add it to Update:
void Update () {
if(player.hooman) {
ZoomOrthoCamera();
I believe the issue is that I do not have any arguments in ZoomOrthoCamera(). I tried adding some that I thought where relevant, but just got different errors. What exactly am I supposed to be throwing in there?