Ребята нужна помощь с Unity

выдаёт такую ошибку

Assets\scripts\Enemy.cs(21,13): error CS0246: The type or namespace name ‘Player’ could not be found (are you missing a using directive or an assembly reference?)

using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Media;
using System.Runtime.CompilerServices;
using UnityEngine;

public class Enemy : MonoBehaviour
{
    private float timeBtwAttack;
    public float StartTimeBtwAttack;
    public int health;
    public float speed;
    public GameObject deathEffect;
    public GameObject soundef;
    private Animator camanim;
    public int damage;
    private float stopTime;
    public float startStopTime;
    public float normalSpeed;
    private Player player;
    private Animator anim;

    private void Start()
    {
        camanim = GameObject.FindGameObjectWithTag("MainCamera").GetComponent<Animator>();
        anim = GetComponent<Animator>();
        player = FindObjectOfType<Player>();
        normalSpeed = speed;
    }

    private void Update()
    {
        if(stopTime <= 0)
        {
            speed = normalSpeed;
        }
        else
        {
            speed = 0;
            stopTime -= Time.deltaTime;
        }

        if (health <= 0)
        {
            camanim.SetTrigger("shape");
            Instantiate(soundef, transform.position, Quaternion.identity);
            Instantiate(deathEffect, transform.position, Quaternion.identity);
            Destroy(gameObject);
        }
        transform.Translate(Vector2.left * speed * Time.deltaTime);
    }

    public void TakeDamage(int damage)
    {
        stopTime = startStopTime;
        Instantiate (deathEffect, transform.position, Quaternion.identity);
        health -= damage;
    }
    public void OnTriggerStay2D(Collider2D other)
    {
        if (other.CompareTag("Player"))
        {
            if(timeBtwAttack <= 0)
            {
                anim.SetTrigger("attack");
            }
            else
            {
                timeBtwAttack -= Time.deltaTime;
            }
        }
    }
    public void OnEnemyAttack()
    {
        Instantiate(deathEffect, transform.position, Quaternion.identity);
        player.health -= damage;
        timeBtwAttack = StartTimeBtwAttack;
    }
}

А где класс Player лежит?
Он вообще существует?)


При вставке кода на форуме надо нажимать кнопку Код

а где он должен лежать?

я решил проблему

просто скрипт надо было переименовать