53,288 reputation
9115198
bio website byte56.com
location Portland, OR
age 32
visits member for 3 years, 10 months
seen 39 mins ago

I work full time at a big software company, when I'm not doing that I'm developing games. I keep a development blog at www.byte56.com and you can follow me on twitter.

I've created a course with Lynda.com to teach advanced scripting with the Unity 3D engine, check it out! Have a 10-day free trial to Lynda.com to watch my course and many others


Mar
24
revised Input.mousePosition gives a NullReferenceException
added 44 characters in body; edited tags; edited title
Mar
24
comment Input.mousePosition gives a NullReferenceException
Sure. Remember to completely read your error messages. Further, it's super quick to attach the debugger and inspect your variables at run time, that'll give you a lot more flexibility to see what all the values are in your code and quickly debug issues like this.
Mar
24
answered Input.mousePosition gives a NullReferenceException
Mar
23
reviewed Reject Java Game How to find the x and y for a tile?
Mar
23
comment How do I save and restore an int value with PlayerPrefs?
@Lohoris Perhaps OP is killing the executable with task manager? If they haven't implemented some kind of exit, it's possible this is causing the player prefs to not be saved.
Mar
23
comment How do I save and restore an int value with PlayerPrefs?
It's most likely the lack of Save() being called.
Mar
23
revised How do I save and restore an int value with PlayerPrefs?
edited tags; edited title
Mar
23
answered How do I save and restore an int value with PlayerPrefs?
Mar
23
comment Editing a new list of vector3's without changing the original list? (Unity)
Maybe you can show us the code you've tried already and what you think the problem is with it. That'll make it much easier to answer this question and make the answer more relevant to you.
Mar
22
revised onCollisionEnter2D not behaving as expected
added 49 characters in body
Mar
22
comment onCollisionEnter2D not behaving as expected
My fault, I only called out the 2D change and not the capital O as well. Thanks for getting everything in order and modifying this question to be more clear.
Mar
22
comment onCollisionEnter2D not behaving as expected
That's what my answer said, and you said it didn't help. Read my answer again. I said your method signature was incorrect.
Mar
22
revised onCollisionEnter2D not behaving as expected
added 411 characters in body
Mar
22
comment onCollisionEnter2D not behaving as expected
Is there some reason you want to delete this question? Did the answer below solve your problem? If not, why don't you post how you solved it as your own answer? Remember that this site isn't just for your personal use, the questions and answers are here to benefit everyone.
Mar
22
comment onCollisionEnter2D not behaving as expected
Let us continue this discussion in chat.
Mar
22
revised onCollisionEnter2D not behaving as expected
added 264 characters in body
Mar
22
comment player sprite hidden after using a stage (scene2d library)
Please update the title as well. Further, tell us more about what the problem is. What does "not good for many reason" mean? Give us more details so we know where to start with answering your question.
Mar
22
comment determining view boundaries based on z position when using a perspective projection
Great, glad you could find your answer here.
Mar
22
answered onCollisionEnter2D not behaving as expected
Mar
22
comment determining view boundaries based on z position when using a perspective projection
@LukeP, did any of the answers help you with your problem? I need to award the bounty.