How can i fix this error (31,22) primary constructor body is not allllowed

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class EasyAI : MonoBehaviour {

public float fpsTargetDistance;
public float enemyLookDistance;
public float attackDistance;
public float enemyMovementSpeed;
public float damping;
public Transform fpsTarget;
Rigidbody theRigidBody;
Renderer myRender;

void Start () {
myRender = GetComponent ();
theRigidBody = GetComponent ();
}

void Update () {
fpsTargetDistance = Vector3.Distance (fpsTarget.position, transform.position);
if(fpsTargetDistance<enemyLookDistance){
myRender.material.color = Color.yellow;
lookAtPlayer();
print(“Look At The Player”);
}
}

void lookAtPlayer();{
Quaternion RotationDriveMode = Quaternion.LookRotation(fpsTarget.position - Transform.position);

}
}

fixed it, now im getting another error

ok all solved now

Welcome, and glad you got it sorted.

For the future, check out the post on using code tags to format your code so it’s easier to read.