Nov23

C# Snippet: ColoredMaterialCache reduces memory load

This C# Snippet allows you to create, cache and retrieve instances of materials you need color-variations of. This is great if you want to have the same objects in different colors.

Normally, changing “renderer.material.color” will create an instance of the material for each object you create. If you use ColoredMaterialCache.GetVariationOnMaterial() all materials will be cached and you will end up with one material instance per color instead of one material instance per object. 

Get it here as a Gist:

https://gist.github.com/1389369

Nov16
My first submission to the Unity Asset Store went out today.
It’s an Editor Extension which allows to create scripts based on (multi-file) templates in a wizard-style window. The system uses the Visual Studio 2008/10 Template definition format – templates can easily be imported in Visual Studio.
Now Available for 20 USD on the Unity Asset Store:
http://u3d.as/content/andreas-zeitler/advanced-c-templates

My first submission to the Unity Asset Store went out today.

It’s an Editor Extension which allows to create scripts based on (multi-file) templates in a wizard-style window. The system uses the Visual Studio 2008/10 Template definition format – templates can easily be imported in Visual Studio.

Now Available for 20 USD on the Unity Asset Store:

http://u3d.as/content/andreas-zeitler/advanced-c-templates

Nov13

C# Snippet: Create Deep-Copy method for Class

This C# Snippets generates the code for a method which deep-copies any class  from a source to a target instance. This is useful to copy components field-wise (and, optionally, property-wise) in Unity 3D. A test for the Transform component is included.

Get it here as a Gist:

https://gist.github.com/1361488

Jul20
Little Indie is an all new, soon-to-be-launched, indie-only portal for all independent game developers out their who want to sell their games on sites that don’t put you right next to the major AAA games.

Little Indie is an all new, soon-to-be-launched, indie-only portal for all independent game developers out their who want to sell their games on sites that don’t put you right next to the major AAA games.

Jul20

A Note on Partial Classes and Unity

Recently I have discovered partial classes in C# for the use in Unity. They are a good way to split classes into a Library-part, which never changes from project to project, and an custom part which can be custom for each project.

Unity does handle this effortlessly as long as you remember to keep code file names unique.

For my purposes I use a simple .-syntax like this:

LayerManager.cs // this is the base class included in my collection of extensions

LayerManager.Custom.cs // this is the custom extension which adds game-specific functionality to the LayerManager class

Jun15
Advanced Visual Studio Unity Templates
Collection of Visual Studio Templates to make development with Unity easier. Provides templates for all important Unity base classes: MonoBehavior, ScriptableObject, ScriptableWizard, Editor, EditorWindow. There are also a few more advanced templates to create a new MonoBehavior including a Custom Inspector and a class holding Editor functionality for it (kind of adhering to the MVC design pattern). The screen is taken from the German Visual Studio, the templates are in English, however, and can be used in any Visual Studio Edition (2008 and 2010).
Download (UnityAdvancedVSTemplates.zip ~100KB)
Check in on the Unity Board and give me feedback!

Advanced Visual Studio Unity Templates

Collection of Visual Studio Templates to make development with Unity easier. Provides templates for all important Unity base classes: MonoBehavior, ScriptableObject, ScriptableWizard, Editor, EditorWindow. There are also a few more advanced templates to create a new MonoBehavior including a Custom Inspector and a class holding Editor functionality for it (kind of adhering to the MVC design pattern). The screen is taken from the German Visual Studio, the templates are in English, however, and can be used in any Visual Studio Edition (2008 and 2010).

Download (UnityAdvancedVSTemplates.zip ~100KB)

Check in on the Unity Board and give me feedback!

May7
Apr9
PanicAR Framework finally available for licensing! Integrate Augmented Reality functionality in any iOS App – fast, flexible, affordable.
Check it out: http://www.dopanic.com/ar

PanicAR Framework finally available for licensing! Integrate Augmented Reality functionality in any iOS App – fast, flexible, affordable.

Check it out: http://www.dopanic.com/ar

Apr5

Eon Time Tracker + Redmine = BETA

Word of Caution: The excitement about Eon (a lightweight time tracker by Fuelcollective) and its Redmine integration only lasted a couple of hours. The Redmine integration stopped working after I purchased the full edition of Eon and I have not been able to get it back up and running again ever since.

Mar21
Feb13
Jan28
Jan15
Dec9
Oct29

Why I am looking forward to the Mac App Store…

Loren Brichter of Atebits:

Find developer website
Click download link
Unarchive
Drag to Applications folder
Launch app
Find registration button
Go to developers website
Click buy
Enter credit card information
Click buy
Wait for email
Open license email
Copy license
Paste license

vs.
Click “Buy”

Very few people are willing and able to jump through hoops to register software the old way. With the barrier to purchasing lowered the number of third-party-app-using-Mac users will rise, letting developers charge less and make it up in volume. I’d have gladly charged the impulse-price of $2.99 for Tweetie for Mac if there were a mechanism for impulse-purchases. This is it.

Source: http://www.cultofmac.com/mac-app-store-what-do-developers-think/64859