Quantcast
Channel: Latest Questions by Drakestar
Browsing latest articles
Browse All 12 View Live

MonoDevelop - disable automatic whitespace between function name and round...

Is there a setting to have MonoDevelop not insert an automatic whitespace between a function call and the round brackets? It automatically formats to this: private void Foo () {} Foo (); But I want...

View Article



Stepping in MonoDevelop Debugger takes a long time when using buttons

Trying to use the MonoDevelop debugger to step through C# code. Everything works, except that MonoDevelop stops responding to button presses on Step Over/Into/Out for several seconds after each step....

View Article

Fastest way to do radius check that considers static collisions

From experience/data, what is the fastest way in Unity to find a specific object within a given radius, *taking occlusion/collision by other objects into account*? You can imagine many situations in...

View Article

Debug.DrawLine won't show up

I can't get Debug.DrawLine working for the life of me, even in a simple test scene. Can somebody sanity check this for me? I create two sphere GameObjects called "Sphere1" and "Sphere2", make sure...

View Article

Instantiate GameObject with parameters

How do I instantiate a GameObject with parameters? In traditional programming parlance, how do I new a GameObject with a non-parameter-less constructor? Obviously I can do this: GameObject go =...

View Article


Naming instantiated objects

(I figured out the answer as I was typing the question. Rather than deleting it, I decided to post this for reference to anybody else wondering, because it wasn't immediately obvious to me.) Is there a...

View Article
Browsing latest articles
Browse All 12 View Live




Latest Images