I’m getting the below error while attaching the script to game Object
“The script dont inherit the native class that can manage a script”
using Unity.Entities;
using Unity.Mathematics;
using UnityEngine;
public struct PlayerInputData : IComponentData
{
public KeyCode upKey;
public KeyCode downKey;
public KeyCode rightKey;
public KeyCode leftKey;
}