c# - enum property inconsistent accessibility -
i new @ csharp, , not understand problem.
public abstract class player { protected behaviour fbehaviour; public behaviour fbehaviour { get; set; }
the error says error 6 inconsistent accessibility: field type ... less accessible field ...
i've tried changing everything, nothing worked.
it means class behavior not public, player , trying expose public.
change behavior public.
Comments
Post a Comment