If you’re already working in the open beta of Unity 4.6, you’re hopefully on your way to making a great UI with the new UI system. If you’re looking to get a little bit more out of the UI system though, I’m happy to report I have a new asset store package available today! The package, which I’ve called HyperText, adds some new functionality to the built-in Text component, including the ability to:
- emit callbacks for different mouseover/touch states
- create custom styles for links and your own rich text tags
- easily reuse and manage styles throughout your project
- display sprites inline with text as quads, and
- automatically detect and tag keywords
Check out the 1.0 video for more info:
In related news, I’ve simultaneously released version 2.0 of my Property Backing Field Drawer package. It now features all kinds of new dark magic to make it even easier to use. Changes include:
- Unity 4.5 is new minimum version.
- Added IPropertyBackingFieldCompatible interface and PropertyBackingFieldCompatibleObject base class, which are used to support custom serializable structs and classes.
- You can now use setter logic that only triggers on value changes! Note that custom serializable classes will always supply a clone.
- Full support for undo/redo and reverting to prefab for all property types in any play mode state!
- PropertyBackingFieldDrawer.DisplayArrayPropertyField() and PropertyBackingFieldDrawer.DisplayReorderableListPropertyField() were removed and are no longer necessary!
- No naming assumptions are made for IList backing fields and their respective properties anymore!
- Properties and their respective backing fields need not match type, as long as the backing field type is assignable from the property type.
- Fixed bug that could cause some enum properties to not be set properly.
- Fixed bug calculating property drawer height when property was followed by another whose name was prefixed with the preceding property’s name.
- Changed some access modifiers and method signatures of utility methods which should generally not be needed anyway.