Development

  • How To Make a Unity Property Drawer Using IMGUI

    How To Make a Unity Property Drawer Using IMGUI

    Property drawers enable you to specify how the inspector should look for your serializable classes. This way all MonoBehaviours and ScriptableObjects with fields of your type will have the fancy inspector without having to make a custom editor for every one.

  • Using those pointers

    In my last post I outlined a way to manage native object lifecycle from C# in Unity. But I skipped one of the conveniences of calling native functions. You can call a function without matching the declared type of the pointer parameters. That means you don’t need to use CFTypeRef everywhere. The pointer you have…

  • Unity iOS Native Pointer Pattern

    One common situation I find myself in when developing for Unity on iOS is having to integrate with native APIs. Integrating native features is a nice touch for your apps and makes them feel at home running in iOS. It keeps your users familiar with platform conventions instead of having to learn some UI or…

  • Common WWW

    Unity’s WWW class is quite powerful. Give it a URL and it will download that file in the background. Provide it with some form data and it will encode it properly and post it for you. It can even load files from inside your APK on Android. As powerful as the WWW class is, there…

  • Unity iOS Plugin Basics

    One of my favorite things about Unity is how easy it is to port games to multiple platforms. The simplest of games require no work to target a new platform. Literally none. This makes developing in Unity a time saver because there are very small porting costs. However keeping the game purely within the engine…

  • Unity Property Drawer Attributes

    The Unity editor is a really useful tool when making a game. A lot of its power comes from how customizable it is. If you want to make a new window to do some custom action it is as easy as writing code like you would for the game. Custom inspectors and property drawers are…

  • Unity Android Plugin Environment

    I’ve recently begun work on android platform integrations into Crowman & Wolfboy. We’ve had a playable build of the game on Android for a while now, but some parts need more integration than others. I ended up having to write a java library for inclusion in the project. This posed a new problem for us.…

  • XKCD Colors

    I was working on a post about integrating the TestFlight SDK into Unity, but since it is no more I’ll have to skip that topic. Instead let me introduce, XKCD Colors as less mixins. I am an avid reader of the XKCD comics. If you haven’t read it take a minute right now to go…

  • More AppleScript

    After my last post I really wanted to explore AppleScript some more. So that’s what I did. One thing I like to do is listen to podcast episodes in chronological order. That is to say episodes from different podcasts. But also one episode at a time. The podcasts I subscribe to average about 50 minutes…

  • AppleScript to the Rescue

    AppleScript to the Rescue

    As a long time user of Google reader, it saddens me to see the service closed. A ton of information will be lost. All the starred articles and feeds no longer available will disappear into the ether. I started looking into alternatives shortly after hearing about the intended closure. One reader I had heard a…