Commit Graph

58 Commits (3f9080a660e2dd3eb636d5b70b39e89c019298a3)

Author SHA1 Message Date
Simon (Darkside) Jackson 423fd6bd78 Updated and included a new LineRenderer that is based off an Array instead of a list to reduce allocations. 2019-03-09 13:26:11 +00:00
Simon (Darkside) Jackson 43eaa870e1 Resolved a number of .NET warnings and invalid properties 2019-03-07 18:11:51 +00:00
lars me d6bb530fee Merged in larsme/unity-ui-extensions/Reordable_List (pull request #48)
More Options for ReordableList

Approved-by: Simon Jackson <darkside@xna-uk.net>
2019-02-25 15:07:48 +00:00
lars me ba6dc87b11 Merged in larsme/unity-ui-extensions/UI_vertical_scroller (pull request #47)
More Options for UI Vertical Scroller

Approved-by: Simon Jackson <darkside@xna-uk.net>
2019-02-25 15:04:58 +00:00
LARS-LAPTOP2\larsme c8b7085f27 More Options for ReordableList:
- Max item count, after which no more items can be dropped
- IsDisplacable option: If true, an item can be dropped into a full list by displacing one of its items,
  it may replace the dragged item in its origin list, be dropped in space or be deleted
  depending on the dragged item's origin list and the displaced item
- Added respective Events
- fixed ever increasing number of _listContent components
- Stopped dragged item from blocking Raycasts
2019-02-22 18:35:03 +01:00
LARS-LAPTOP2\larsme cee50a6d63 More Options for UI Vertical Scroller
- Option to stop scrolling momentum when scrolling past first / last item (still draggable in that direction)
- Explicit function to recognize / set array elements in case they were changed
- Resize elements to match elementSize rect object (defaults to center object), scaled using modifiable elementShrinkage and minSize
- Detect focusedElement and trigger event if focus changes
- Option whether to make unfocused elements interactible or not
2019-02-22 18:08:50 +01:00
LARS-LAPTOP2\larsme cd0800d701 Input Enter Submit:
- Option to defocus input on hitting the enter key
- Demo
2019-02-22 16:03:59 +01:00
Simon (Darkside) Jackson f643e868d1 Added CardUI controls to the project - Thanks to @ryanslikesocool
Docs to follow
2019-01-07 14:47:41 +00:00
Simon (Darkside) Jackson a645c1e0c2 Updated FancyScrollView to latest version 2018-12-31 15:16:28 +00:00
Simon (Darkside) Jackson 75bcf05f32 Resolves #210
Fixed issue where the original script made an incorrect assumption about the association between a prefab and a script.
Menu now stacks the gameObject prefabs instead of the prefabs themselves.
2018-04-28 12:32:17 +01:00
Simon (Darkside) Jackson 18a61b5ef5 Updated Radial Slider to user event Pointer position instead of Input.MousePos, allows multiple radials to be use on touch screens.
Resolves #231
2018-04-12 15:12:17 +01:00
Simon (Darkside) Jackson 104002eaa5 Updated HSS/VSS to include a new HARD swipe option. Forces scroll snap to ONLy move one page when swiped. 2018-03-24 15:36:38 +00:00
Simon (Darkside) Jackson 6a4256738a Added Experimental update to UI Knob to enable working in World/SS-Camera. May revert.
Unity seems to calculate the mouse cursor position wrong between frames.
2018-03-24 14:48:53 +00:00
Sean Mann 4a2a4f555d Merged in Naphier/unity-ui-extensions_ng (pull request #30)
Further improvements to color picker control
2018-03-24 11:35:53 +00:00
Simon (Darkside) Jackson 1dbfda47d9 Moved Shader folder under a Resources folder to resolve UI Particle system and other shader issues.
Resolves #229
2018-03-22 18:09:48 +00:00
Sean Mann d5d94a2076 Improvements to UI and ColorPickerPresets inspector.
- Picker 2.0.prefab UI now collapses preoperly when showing/hiding HSV/RGB slider sets.
- ColorPickerPresets now has an inspector with a button that can be clicked to open the saved JSON file.
2018-03-10 21:52:45 -05:00
Sean Mann d88a010755 Scene cleanup 2018-02-18 23:30:12 -05:00
Sean Mann b5f8f17203 Improvements on Color Picker:
- .gitignore - Added "/.vs" to ignore VS 2017's new folder.
- Added Color Sampler feature to pick colors from the screen.
- Fixed issue with ColorPickerPresets with "not working" HSVChanged()
- Changed the way ColorPickerPresets work. Can now add predefined colors in the inspector, plus save/load from player prefs or json file.
- Modified UI layout for Picker 2.0 prefab to allow for expansion of presets, toggling of RGB vs HSV. Still could use some work as the layout doesn't collapse/expand nicely.
2018-02-18 23:16:15 -05:00
Simon (Darkside) Jackson 2c802d9271 Second pass optimisation for next update
[x] GUILayer removed from all sample Scenes
[x] Validated each scene in build (resolved some missing script references post upgrade)

*Note, UIVerticalScroller seems to have an issue, will address later.
2018-01-20 17:35:15 +00:00
Simon (Darkside) Jackson 55a7d21860 First pass optimisation for next update.
[x] Cleared any outstanding warnings on build
[x] Tested random scenes and updated (requires further investigation)
2018-01-20 12:08:44 +00:00
Beka Westberg fca370b906 Created a Content Scroll Snap that snaps onto the children of the content no matter their sizing or spacing 2017-12-05 14:23:01 -08:00
Simon (Darkside) Jackson 8b8c6f5c3a Updates post UICircle merge
* renamed ChangeColor to UICircleChangeColor for clarity
* renamed ChangeDensity to UICircleChangeDensity for clarity
* removed unnecessary usings
* updates scene to match UI control start positions
2017-10-19 13:40:32 +01:00
LAB\TroyWalker 019d05dfb1 Major changes to UICircle with some member modifications and additions to the component behaviour.
* Added progress indicator capability to the component.
 * Component uses AddUIVertexStream to generate vertices and indices of triangle order.
 * Improves base geometry generation to prevent edge sliding on segment value changes (tris density, now called Arc Steps).
 * Corrects a minor issue with base mesh where first vertex is generate at center (only visable in wireframe mode at certain angles).
2017-10-10 16:52:02 -05:00
Simon Jackson c11796ebcc Update 2.0 Check-in 2017-08-11 13:17:10 +01:00
Simon Jackson d6cfb41bf5 Added Pagination Manager
Resolves #158

Thanks @BroganKing
2017-08-09 19:38:29 +01:00
Simon Jackson b4a2e81aae FancyScrollView control updated to add an event when the page is changed / Selected
Thanks to @ChongHann (Hann Chong) for the fix

Resolves #157
2017-08-07 19:33:53 +01:00
Simon Jackson 98648acf6a Documentation tweaks and original FancyScrollView docs 2017-08-05 12:57:07 +01:00
Simon Jackson 11ee80411f Added a new Line Renderer mode (Catenary) 2017-08-04 20:01:02 +01:00
Simon Jackson a1b2b38a0f 1st stage pass adding the Menu system from Unite.
Need to finish testing and add docs
2017-08-02 17:50:22 +01:00
Simon Jackson 688e2edd25 Added the FancyScrollView control and Examples
Reviewed other samples and moved their code to the new "Examples" namespace
Minor fix on HSS/VSS to address issue where Next/Previous buttons didn't enable when new pages added to an empty control
2017-08-02 10:21:45 +01:00
Simon Jackson 974f906fb0 Added Curly UI Asset and updated to project standards. Docs to follow. 2017-07-30 13:13:29 +01:00
Simon Jackson dd0b3a3cba Added Radial Slider and Example
Still need to add Editor Option for default
2017-07-29 19:09:19 +01:00
Simon Jackson 3daac5e970 Some minor Examples restructuring and finally added a .GitIgnore #FaceSlap 2017-07-15 11:41:14 +01:00
Simon Jackson c3025ee11b Added an example scene for doing a Full Screen Scroll snap using the HSS control 2017-07-12 20:20:49 +01:00
Simon Jackson 439242d914 Updated FastSwipe logic to measure the distance of a swipe against the container width (with threshold offset) rather than using velocity (which was messy)
Resolves #130
2017-07-02 14:22:10 +01:00
Simon Jackson 49ecdc1b0e Added Scrollbar helper to ALL current scroll snaps
Resolves #120
2017-07-02 10:09:52 +01:00
Simon Jackson 9d6349a2a1 Added Cooldown button control and example scene.
Some other minor fixes included
2017-06-25 18:36:49 +01:00
Simon Jackson 290f550fc4 Updated LineRenderer Example Scene
Added new Circle class (example in LineRenderer scene)

Changed some of the LineRenderer public variables to public properties, else they are not assignable in the editor for events.  Will check other controls as well.
2017-06-25 11:56:46 +01:00
Simon Jackson c4c6c81e80 Updated several of the example test scenes 2017-06-19 18:49:14 +01:00
Simon Jackson 6a29b9957e Updated Text demo scene with additional effects and animated some of the controls, just for effect 2017-06-05 16:01:47 +01:00
Simon Jackson a059c148a6 Various patches and also enabled the ReorderableList in SS-Camera / Worldspace 2017-06-03 17:59:12 +01:00
Simon Jackson e4991aba05 Rolled back Floating Joystick as it had too many dependencies, will review and re-add later
Added fix to DropDownList to enable firing the changed event for the first item.
Added new ComboBox example scene.
2017-05-16 18:51:24 +01:00
Simon Jackson 2fb1a35698 Merged in floatingjoystick (pull request #8)
Added a floating joystick (appears in a tap position)
2017-05-08 11:09:06 +00:00
Simon Jackson dd7d79a411 Added more example scenes 2017-05-05 17:14:03 +01:00
Simon Jackson 35b88a2487 Fixed Line endings on shaders (?)
Removed unnecessary usings (who knew there were so many, I'm normally so tidy :P)
2017-05-05 14:25:48 +01:00
Simon Jackson dc809858b9 1st Pass update, Updated controls:
* DropDownList/ComboBox
* Reorderable List (Screen Space Camera Updates
* Curved text fixes
2017-05-05 14:06:52 +01:00
Tima Zhum fe2ed6c7ce Added a floating joystick (appears in a tap position) 2017-04-17 20:00:24 +06:00
Simon Jackson a09a5b5322 First pass 1.3 updates:
* SelectableScaler.cs
* MonoSpacing
* MultiTouchScrollRect.cs
* BezierLineRendererEditor.cs
* WIP - DropDownList / AutoCompleteComboBox
2017-04-15 19:12:44 +01:00
herbst 1ef67d5fba mono spacing text works with right alignment now, example scene 2017-03-22 14:16:03 +01:00
herbst 9e786f6aa6 added monospacing script and added TextEffects example scene 2017-03-22 12:56:21 +01:00