fjruizpo
4b50ab40a6
Change Draggable2D and Clickable2D to use the new EventDispatcher calls for events.
8 years ago
Christopher
1ba09f25e8
Converted (most) foreach to for statements. Avoids an allocation for the loop iterator.
8 years ago
Christopher
3510fc7f9a
Converted all foreach statement to act on simple variables.
8 years ago
Christopher
060b7b46a2
Reverted Fungus sub namespaces as they were breaking backwards compatibility. Kept the Fungus.EditorUtils namespace though as it doesn't affect compatibility.
8 years ago
Christopher
253ac9ebc6
Renamed public methods to public members
8 years ago
Christopher
30f41e29a1
Reverted IClickable interface
8 years ago
Christopher
071fb7c345
Added Fungus.Commands, Fungus.EventHandlers, Fungus.Variables and Fungus.Utils namespaces
8 years ago
Christopher
627e167f88
Moved all scripts into a unified script folder (except Flowchart yet)
8 years ago
Christopher
b423d7f313
Refactored Draggable2D to use IDraggable2D interface
8 years ago
Christopher
8dcb56a9e8
Refactored Clickable2D to use IClickable2D interface
8 years ago
Christopher
f130385f6f
Changed comment style on header block
8 years ago
Christopher
769f0ffabb
Refactored sprite comments
8 years ago
Christopher
83c12c7e76
Refactored many classes to use protected serialisable fields, with public property accessors where required.
8 years ago
Christopher
239bf8fefe
Converted tabs to spaces in all .cs files
8 years ago
Christopher
98d8fd089e
Clickable2D and Dragable2D components can now use legacy input or EventSystem events / recasts.
...
Added DragAndDrop(EventSystem) example scene to show how to use the EventSystem option.
8 years ago
Christopher
6c0dfba807
Fixed Clickable2D and Draggable2D to use event system to correctly block clicks on UI elements.
...
Updated drag and drop demo scene.
8 years ago
Christopher
67adbab9a0
Added open source license header to all source files
9 years ago
chrisgregan
19dca7e555
Fixed Clickable sprites can be clicked through UI objects #377
9 years ago
chrisgregan
407d13f4ca
Added Set Mouse Cursor command and drag and drop support
9 years ago
chrisgregan
5a931441d4
Merge branch 'Rename-core-classes'
10 years ago
chrisgregan
e861cf1d9c
Added drag and drop and clickable sprite support
...
Added DragAndDrop example scene
Added Clickable2D and Draggable2D components to make sprites clickable
and draggable.
Added event handlers which list for events from the Clickable2D and
Draggable2D components.
10 years ago