But no have any error log at all, it just show a red line on Visual studio and cannot access any class of project itself, if I write some class name it just show a black text that is…
Well, we don’t see where your ItemEditor script is located. However since you do have both first pass projects, you most likely placed the Item Editor into a first pass folder, so it’s isolated from the normal scripts. First pass folders are the plugins folder as well as the Standard Assets folder. Things in those folders are compiled first. There’s a strict order in which your files are compiled.
The runtime scripts of the first pass are compiled first into the Assemby-CSharp-firstpass assembly.
Next comes the editor scripts that are inside any editor folders inside first pass folders which are compiled into Assembly-CSharp-Editor-firstpass assembly
After that your normal runtime scripts are compiled into the normal Assembly-CSharp assembly
Finally the normal editor scripts are compiled into the Assembly-CSharp-Editor assembly
Of course based on that order only things that are compiled later can access things that are compiled eariler. So normal editor scripts can access everything (group 1,2,3 and of course it’s own group). Normal runtime scripts can access groups 1,2 and 3 (though runtime scripts should never access anything from the editor assembly since that’s not included in a build)
Group 2 can only access things defined in group 1 or 2.