I’ve been using Unity since 2.7. I’ve been writing scripts in Unity C# since before Unity shipped with MonoDevelop. I wrote scripts in UniScEd, MonoDevelop, Visual Studio 2010, and Visual Studio 2012. I haven’t had a problem until now, and this problem is really odd.
I’m trying to dynamically load an asset or two. The best way to do this is with the Resources.Load method. I’ve used this method before a number of times, all with great success. However, ever since Unity 4.0, that method just doesn’t exist. I type in “Resources.” to Visual Studio, expecting to see a list of available methods as per Visual Studio’s auto-correct feature. However, all I see are “Equals” and “ReferenceEquals”. I have the same problem when using MonoDevelop.
Searching online yields no useful information.
Has anyone else had this problem, and does anyone know how to fix it?