LeanTween Event Dispatching

LeanTween Event Dispatching

Jan 30

LeanTween now supports an easier way to send messages to other parts of your code: Event Dispatching! In Unity it is often necessary to connect far-flung pieces of code together. This can usually be accomplished with some type of GameObject.Find(“objectName”); or setting a reference through the editor. These solutions can sometimes be clunky to say the least, and too much work. Now...

LeanTween 2.0 – Faster, Type-safe and C#

LeanTween 2.0 – Faster, Type-safe and C#

Dec 12

LeanTween 2.0 does away with passing optional parameters via Hashtables or Arrays, and instead turns to a more robust and cleaner way of passing these parameters with functions. All optional parameters are now passed at the end of the tweening method like so: LeanTween.moveX( go, 1f, 2f).setEase(LeanTweenType.easeInQuad). setDelay(1f).setOnComplete( someMethod ); You can “daisy-chain”...

C# vs Unityscript – Which is faster?

C# vs Unityscript – Which is faster?

Nov 20

I set out to find if there are any speed advantages to using C# when programming in Unity. I have for awhile kept both versions of my popular tweening engine LeanTween in C# and Unityscript, because I still thought there might be speed advantages to using Unityscript. This is a lot of work to maintain both versions, so I wanted to test my hypothesis and see whether Unityscript was actually...

How created my own Procedural Textures for Unity3d

How created my own Procedural Textures for Unity3d

Nov 18

I had been reading a lot about Perlin noise and other noise generation techniques, and I was pretty excited about the possibilities for endlessly variable textures that could be created on the fly. I hadn’t noticed anything like this in the Unity Asset Store, so I thought I could make something that other people could benefit from as well. So I got to work, creating an editor that created...

Lean Loader, load from web or cache – Unity3d

Lean Loader, load from web or cache – Unity3d

Nov 12

Lean Loader is a new library I created for Unity3d to easily loading assets from either the web or from a cached backup. Great for times when the user is offline or just to speed up performance! It does more than just cache the data, it simplifies the whole asset loading process. – Load images, sound, and text data (XML etc) – Minimal coding required – Simplifies tasks such as...

Unity3d Animation Engines Compared

Unity3d Animation Engines Compared

May 25

I built a test bed with which to test the different animation engines performance on Unity3d. This time I have also taken into account memory usage, and I have allowed you to adjust the number of boxes that are animated. Download the source and test for yourself!(This can be particularly handy when testing ondifferent hardware)   As you can see in the video below the performance of...