See the follows for details:
- http://magicbell.beanstu.io/unity/2017/10/11/blockly-one.html
- http://magicbell.beanstu.io/unity/2017/10/14/blockly-two.html
- http://magicbell.beanstu.io/unity/2017/10/22/blockly-three.html
- http://magicbell.beanstu.io/unity/2017/10/31/blockly-four.html
Have fun with 2 game demo.
- open Examples in Unity.
- Hit menu UBlockly/Build Block Prefabs and wait to finish prefabs building.
- open scene UGUIDemo.
- Hit play and have fun.
There offered two UI themes: google blockly style and scratch style. Default is scratch(I prefer~).
To change themes:
-
Drag the prefab UBlocklyData/Toolboxs/Prefabs/ClassicToolbox under the scene object Canvas/Workspace (Make sure the scene UGUIDemo is opened).
-
Delete or hide the other theme prefab ScratchToolbox.
-
Attach the ClassicToolbox to the component WorkspaceView on scene object Workspace.
-
Hit play and have a look.
Greatly appreciate the help by: