- Home /
Question by
fucrate · Apr 21, 2015 at 02:27 PM ·
visual studiocustom editorunityvs
UnityVS with VS 2015, CustomEditor classes cant access any game classes
I just switched from MonoDevelop to Visual Studio 2015 using UnityVS and things work pretty well for game classes, but when I try to write a custom editor script in the CSharp.Editor, Visual Studio wont recognize any of the classes in the regular game project.
So as a for instance I have a class Player, which is a regular MonoBehaviour based game component, and the PlayerEditor script can't access the Player class, so it thinks the class is an error and I can't get any intellisense on it.
This all worked fine in MonoDevelop, but for some reason is not working in VS 2015. I checked the CSharp.Editor project, and it has the regular CSharp project listed as a reference.
Any ideas on how I could fix this?
Comment