event.timeout(30, call_me_soon) #after 30 seconds!
event.loop(True) #loop once, return 0 if events are waiting.
event.loop(False) #loop until no more events are waiting.
Monday, April 19, 2010
A simple pyevent example.
Because I couldn't find one myself.
UniWeb now includes a tiny embedded web server which you can use to do crazy things. That is all.
So, you've created a car prefab using WheelCollider components, and now you can apply a motorTorque to make the whole thing move along. ...
I've been working on something new. I get a lot of projects where I have to add multiuser functionality. Finally I've made the jump ...
As part of my quest to create amazing procedural spacecraft, I made a greebling tool for Unity. Here are the before and after screengrabs. ...
In my efforts to write a malloc-free network library for Unity3D, I discovered that BinaryReader and BinaryWriter perform malloc operations ...
I use the var keyword everywhere. Someone told me today that this is a bad practice, because "sometimes you can't tell what type it...
I recently acquired an Oculus Rift. It was easy to integrate into one of my existing projects, however during testing, I discovered Unity ...
I applied the greeble system to another spacecraft shell, trying to make some kind of freighter. This highlighted a few issues. Greeble...
When you start working with threads in your Unity3D project, you will discover that many things need to be done in the main loop. For exampl...