using Unity.Entities;
using Unity.NetCode;
[GenerateAuthoringComponent]
public struct MovableCubeComponent : IComponentData
{
[GhostDefaultField]
public int PlayerId;
}
is supposed to be added as a component.
When I open this in VS / VScode i get errors that ‘Type or namespace could not be found’. I’m not sure I know what i’m doing wrong . I checked the references in Assembly-CSharp and I know that ‘Unity.NetCode’ is added.
In the file Unity.NetCode is suggested to be an unnecessary using directive. Can anyone tell me what they think is going on? Thanks