JS to C# need help!
if(other.tag == "Ammo") { ShootObject.GetComponent(Shoot).ammo +=10; Destroy(other.gameObject); } that is my JS scripts code if(other.tag == "Ammo") { ShootObject.GetComponent(Shoot).ammo += 10;...
View ArticleIsPlaying vs isplaying
What is the difference between these 2 arguments? Just a simple question.
View ArticleHow faster is private variables over public variables?
Just wondering, I'm afraid to need to rewrite parts of my code just because I'm decreasing the performance due to my variables. In the end, does it matter? I mean, if I'm able to declare all my...
View ArticleVS 2012 Express Intellisense won't work
Hi, I just installed Visual Studio 2012 Express on my Surface Pro 128 gb. My only problem is, that the autocomplete(intellisense) is not working. I have tried to reset the settings, press...
View ArticleThe type or namespace name 'AppCallbacks' could not be found (are you missing...
Hi, I was building my project to Windows Store and I opened it in VS Express 2012 for Windows 8. I never got this error before, but in the VS Console it says: "The type or namespace name 'AppCallbacks'...
View Articleperformance wise, which is better..Playerprefs or global floats
hi huys, im working on scores for each of my levels and im just wondering which is better performance wise. i need to store different score limits for each level and not sure the most efficient way to...
View ArticleJS Objects VS Class (are they the same?????)
first off, if you aren't familiar with JS (Not the Unity JS, traditional web JS) objects you probably won't be able to help me. In JS (non Unity) there things known as objects. in a [previous...
View ArticleKeep getting a "Failed to retrieve assembly" error in VS, while the game runs...
I keep getting this error in VS when I build (Using UnityVS): ![alt text][1] Yet Unity doesn't complain about anything and runs the game just fine. Any ideas? Thanks. [1]: /storage/temp/19564-error.png
View ArticleVisual Studio + Unity 3D
I have an existing C# Grid App in Visual Studio and a game on Unity. What I want to happen is the game I created in Unity will play when i press the button in Visual Studio. Is it possible? If so, how?
View ArticleCannot link Unity to Visual Studio 2013 Community
Hello, I am trying to connect Visual Studio to Unity using VS Tools for Unity 2013 and I have completed all the steps listed in the documentation and tutorials: I have imported Tools package into...
View ArticleHow do I UNINSTALL Visual Studio Tool
I wanted to try it to see if it would help with debugging scripts but it has some habits that are driving me nuts so I wanted to uninstall it. It won't uninstall. I remove the files, but it has...
View ArticleSimple: How to write field vs property java
So yes I did Google this, but couldn't find an answer. But all I need to know is how to write a field vs a property, or what makes a var a field vs a property.
View ArticleInvoke an Editor Script in the running editor instance.
Hi, so, possibly tricky question here... I'm working with VS2013 and UnityVS (or I guess we should call it VSTU nowadays), and a thought ocurred to me. I'm frequently finding myself in need to locate a...
View ArticleWhy is Visual Studio 15 adding new lines between every line in my code?
When using the new VS15 a blank line is added between every line of code. Anyone else seeing this or know how to fix it?
View ArticleUnity 5+ compatibility with VS2012 - ?
I use VS2012 currently, I just installed the unity (vstu2012.msi) extension/plugin for VS2012. Should I remain on Unity 4+, or can I use Unity 5+ without issue on my current dev setup? Thanks!
View ArticleCant attach debugger | Compile Errors in VS but not in Unity?
Greetings, I'm unable to attach debugger/run from Visual Studio to debug. I'm getting compile errors _only_ in Visual Studio and not Unity. I've tried removing the .csproj, restarting VS/Unity, no...
View ArticleUnity Debugger not working in VS2015 update 2
i dont know if its important or not but when i press ATTACH to Unity button it shows just **1>------ Build started: Project: Interview.CSharp, Configuration: Debug Any CPU ------ 1>C:\Program...
View ArticleCustom VS Solution with Unity integration: double-clicking opens wrong solution
I have a DLL which I'm building as a core, logically encapsulating code that doesn't reference UnityEngine. All is well and I currently have a separate .SLN (so to not have it overwritten by Unity's...
View Articlefreindly ai attack other ai.
Hi i made a simple ai that shoot only the player. and i was wondering how to make a Ai that actually shoot other ai's (like a huge ai battle). I'm using java, and i know we need to use an array. but i...
View ArticleBreakpoints not working
I checked the monodevelopment breakpoints not working post but it was from a number of years ago and about monodevelopment. I am using VS 2015 and overnight the breakpoints stopped working. I tried...
View Article