uFAction

vexe

(15)
FREE
Publisher vexe
File size 2.83MB
Number of files 202
Latest version 1
Latest release date 2014-12-15 06:59:11
First release date 2014-05-16 12:13:34
Supported Unity versions 2018.4.2 or higher
uFAction is a Unity extension/package that gives you a full set of serializable/inspectable delegates (Actions & Funcs) that could be easily integrated and made visible in the inspector for editing!

Features
- You can target any UnityEngine.Object with UnityDelegate (Actions and Funcs - all with generic versions)
- You can target any non UnityEngine.Object with SysObjDelegate (Actions and Funcs - with generic versions too)
- You get a KickassDelegate that could accept any method with no return (void) regardless of the parameters' signature!
- You can set your handlers' arguments (if any) from the editor by means of a direct value, or from a source!
- Support for extension methods!
- Customize all your way through! - You can adjust BindingFlags, create new themes, and many more by means of a simple asset file!
- Three unique editors: Readonly (For SysObjDelegates), Mini and Advanced (for UnityDelegates). Each with its own unique characteristics.Switch between available editors by a single click!
- Extremely easy and simple to use! - Just declare your delegate and annotate it with [ShowDelegate("Title")] - No need for any custom editors!
- Support for Unity light skin!

Bonus
- A globally-accessed generic event system that you could use to globally (un)subscribe event handlers and fire game events!
- No more dealing with Rects! Property drawing never been easier with the convenient and pleasant-to-use awesome GUIWrapper that makes it possible to use GUILayout-like methods in GUILayout-restricted areas (PropertyDrawer.OnGUI for example) - This is what I used to draw the delegate editors! It can draw Buttons, Labels, Blocks (Horizontal/Vertical), all kinds of fields, (IntField, ColorField, ObjectField, etc), Popups, Foldouts, Boxes, DragDropAreas, GetLastRect, ColorBlock, ChangedBlock, EnabledBlock and many more!
- DEVBUS (Developer Extremely-Vriendly Better Undo System): A BetterUndo implemented via the command pattern. With it, you could add undo support to any custom operation no matter how complex it is! You get to define what it is to be undone, and how it is to be undone!

For support:
You can post your issue at uFAction thread if you haven't recieved a quick response from me that means I'm either sleeping, or the notification isn't working in the forum. In that case feel free to contact me at [email protected] and I will do my very best to help and ensure your satisfactory on the package.

Notes
- Please read the readme file that you get with the package first. There I talk about the package in detail: how I serialized things, the difference between the editors, different types of delegates and their usage, adjusting the settings, etc. You can read it here if you like (viewing it directly from your browser might not be very pleasant - I suggest downloading it )
- Since some of the delegates in uFAction depends on reflection, I have no support yet for platforms that don't support reflection.
- You are more than welcome to suggest new features and any enhancements you'd like to see for uFAction!
- You are more than welcome to ask me anything about the package.
- For the previous two points, subscribe to uFAciton's thread on Unity forums. to stay up-to-date with all the latest discussions about the package and post your suggestions/questions.

Thank you!

Top Publisher Assets