the reason I asked if visual studio is the same as mono develop was because I’m watching an old tutorial with a person using mono develop and when I try mono develop it doesn’t work because its says vector3 is an Unexpected symbol or something but I’m doing the exact things that the dude in the video is doing and his is working. anyways just tell me if its the same or not so I can find out a solution to the problem or some body else can.
1 Answer
1Hello there!
VisualStudio is working the same way MonoDevelop does bit doing it in my opinion much better. The reason you are having trouble is that the Unity syntax is changing depending on the version number.
Vector3 may be obsolete with te current version of Unity you are using.
P.S. You should get the same error message using MonoDevelop. Just change the preferred editor in the Unity settings.
Would I do that by creating two GameObjects? and making projectile = projectilePrefab; and then doing the following code? or.... hang on, can i have a public prefab projectile; variable?
– losingisfunYep that fixed it, it seems so obvious now, ill post what i did as an answer. (Funny enough it didn't solve another bug I was getting, but i'll have to track that down another way i suppose - basically, my projectiles are disappearing in midair sometimes, it doesn't seem to be very predictable, I was thinking it was to do with inherited variable values, but this proved that theory wrong)
– losingisfun