Releases: areyoutoo/Unity3D-ChicoPlugins
Now with Unity package file!
This release includes a few changes ported back from side projects that I've been working on.
The new "Movers" module includes some simple movement scripts for spinning, bouncing, etc.
The new "MouseManager" class offers a script that handles basic mouse/touch input together.
Pet peeve of mine: ComponentPools now read their pool names directly from the scene hierarchy.
As I mentioned in previous notes, I'm now removing the CUI module. It wasn't really kept up to date, now that I'm using other UI systems.
Several of the plugins are more or less production-ready, and have been used in long-term projects without issue. If I'm able to clean things up and add some more documentation, we might be on our way to a proper release!
Minor features and bugfixes
This release incorporates a series of enhancements and fixes I made during some personal projects.
In the next few months, I'm hoping to focus on cleanup and documentation. I may remove or deprecate most of the UI classes, since they're miles behind existing solutions and I'd rather focus on other features. I'll have to think about that.
- New: ComponentPools now provide static functions TryGetNext, TryGetNextAt, TryAdd (my favorite new feature).
- New: AudioPool (a ComponentPool for AudioSource components).
- New: AddComponentMenu entries for ChicoPlugins components.
- New: Vector3 extension methods WithScaleX, WithScaleY, WithScaleZ, WithClampX, WithClampY, WithClampZ.
- New: CUITextWidget (similar to CUITextButton, minus actually being a button).
- New: CUIText adds GetMessage, GetColor methods.
- Changed: ComponentPool settings are now serialized via simple public fields.
- Changed: TweenCam replaces LerpState with separate InterpParam, InterpState methods.
- Changed: CUIController now caches "last frame" values in LateUpdate(), so that they're easier to use from other scripts.
- Fixed: MusicPlayer now correctly handles music sources with base volume lower than 1.
- Fixed: CUIController on mobile was reporting last-touched position when no touch present (due to change in Unity API).
TweenCam + Loading + UI
This release incorporates the latest plugin modules from my current project:
- TweenCam: simple camera position/target manager.
- Loading: quick and dirty loading screen support.
- UI: working toward a bare-bones 3D UI library.
Now, with testing!
This release includes rudimentary testing with tenpn's UnTest framework. I'm opting to use this over Unity's recently published Test Tools because it has a license which allows me to distribute the tests in compilable form.
Initial release
This is the initial public release of ChicoPlugins, a suite of code files for Unity3D that I've found useful in my own projects.