Version of .sln file generated by unity3.5
Hi, I updated unity3d from 3.4 to 3.5 beta6 today and found my VS2008 can not open unity project, It says "This .sln file is created by a newer VS version". Then I checked the solution file generated...
View ArticlePublic variables vs {get{return variable;}}
So, for my Unity project I've been setting any variable in a script that needs to be accessed by another script as public. I don't need to edit these in the inspector but because they're public they...
View ArticleUnity free version+ VS C# + step through debug?
Is it possible to sync free version of Unity with VS C# Express and be able to step through debug? I switched my external editor in preferences to VS, but I'm not able to find 'sync with visual studio'...
View ArticleWhich is faster: AudioClips or GameObjects with Audio attached?
Hello, I've got a gun script, the prefab has not an AudioSource attached, every time I hit "Fire1" it shoots, and instantiate a gameobject with an audio clip attached to it. It works fine. This is the...
View ArticleDestroy gameobject or make invisible and recycle?
which one is more efficient memory wise in unity, should i make the object invisible and recyle it to a new position when needed, or just destroy and add a new one at run time when needed?
View ArticleMesh vs. Mesh Collider for simple game setup
Is it recommendable to use Mesh colliders in a simple flipping game with a playfield similiar to the one below. I know that it´s highly inefficient. I will only have these 15 objects with colliders....
View ArticleJS 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 ArticleFirst Person Controller vs. Character (Penelope Tutorial)
July 13th - start of posting Good evening! Currently, I am reviewing Will Goldstone's tutorials. These tutorials are great and highly recommended. I am trying to take Will's lessons of touching the...
View ArticleCollision object Under Character Controller?
Is it possible to check if an object is colliding specifically with the bottom of the character controller? I want to store the object in a variable that the character is standing on. I don't want this...
View ArticleWebplayer deliberately caping the framerate?
As a standalone, my game runs at approx. 180fps in fullscreen mode as well as windowed mode. In the webplayer (tested using Firefox 3.6.1 and IE8) it runs with a constant 32fps. When I switch to...
View ArticleWhat are the differences between GUI.Label(Used to draw a texture) and...
1. Are there any differences between GUI.DrawTexture and GUI.Label, when used to draw a texture, other than the former offering more specialized options for drawing textures and the latter being...
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 Article