Skip to content
mrlinds edited this page Sep 29, 2018 · 16 revisions

Welcome to the InspectorTween wiki!

Inspector Tween is as always a 'Work in Progress' but I will attempt to make as few changes to variables or functionality going forwards.

I strive to keep Inspector Tween as general as possible to keep the number of needed components as low as possible, so components like 'Color' are made to be used to control any type of object that have a 'color' parameter as possible.

I have used Inspector Tween successfully on a number of projects and prototypes quite successfully for tasks that range from interfaces to simple ambient characters. It is built to be as useful as possible without the need to add code triggers, but using code hooks can help to use Inspector Tween to trigger for a wide variety of use cases, and having the shared 'TweenBase' base class can help generally call any of the tweens supplied.

Please feel free to extend the base classes as needed to fit the needs of your particular project, or if you find some useful base functionality, or bugs, please contribute or contact me

General Info

About

TweenMask

Tweens

All Tweens will use the interface specified here

Common Settings

Details of Interfaces Specific to their type

TweenPosition

TweenRotation

TweenScale

TweenColor

TweenMaterialFloat

TweenColorRotation

TweenSprite

TweenProperty

Helper Scripts

Tween Queue

FAQ

There's something I want to tween that isn't covered here, can I use Inspector Tween to magically do that somehow?

Inspector Tween was designed to be easily extended if you know even a little bit of C#

Will you upgrade Inspector Tween to the new Entity Component System (ECS) style so that it will be super efficient and threaded and all that?

Maybe? If I do, it will likely either be in a branch or in a new project. I think the variables can all be upgraded without breaking old versions, and I'll keep that if I can, but ECS is still in development and I'll have to wait and gain experience working in that way for it.

I want to do this really complex animation with logic etc, Should I use Inspector Tween instead of Mechanim?

No

XXX on the asset store is way better than Inspector Tween, why wouldn't I just use that?

Feel free! I use Inspector Tween because I set it up the way I like to work. I've been iterating and growing it for several years now.

Design Pillars

When I started coding Inspector Tween I had certain goals

  • Do not make any custom editor that hides new parameters added in code. As such one should be able to add new variables and functionality without needing to mess with any Editor scripts.

  • Reduce the need for a load of Animation files laying around

  • Keep it open, editable and as extensible as possible

  • Try really hard not to break anything as I upgrade and add to it.

  • Get better at coding and stop writing so many little one off coroutines

Lindsay Jorgensen lindsay (at) radialgames (dot) com or twitter @mrlinds

Clone this wiki locally