imagicbell / ublockly

reimplementation of google blockly for Unity
http://imagicbell.github.io/unity/2017/10/11/blockly-one.html
Apache License 2.0
140 stars 54 forks source link

1. 用json定义该block,参考built-in blocks (/Source/JsonBlocks/ 目录下); #4

Closed wstcgez closed 4 years ago

wstcgez commented 4 years ago
  1. 用json定义该block,参考built-in blocks (/Source/JsonBlocks/ 目录下);
  2. 如果使用C#,解释该Block的行为(code interpreter),参考built-in blocks (/Source/Script/CodeDB/CSharp/Interpreters/ 目录下); 3.如果使用Lua,为该Block生成Lua代码(code generator),参考built-in blocks (/Source/Script/CodeDB/Lua/Generators/ 目录下); 4.如果是特殊的block(带有变形功能),需要提供可供编辑变形的UI。(这一步比较麻烦,可能你并不需要)

Originally posted by @imagicbell in https://github.com/imagicbell/ublockly/issues/3#issuecomment-694292474