查看: 1445|回复: 0
打印 上一主题 下一主题

节点式逻辑编辑器扩展

[复制链接]

5552

主题

2

听众

8万

积分

首席设计师

Rank: 8Rank: 8

纳金币
-1
精华
11

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

跳转到指定楼层
楼主
发表于 2012-4-11 10:43:41 |只看该作者 |倒序浏览

With the announcement of Unity’s new Asset Store, we’re introducing a new plugin that will (hopefully) be up there soon. Introducing the Visualize visual logic editor!




With Visualize, a developer can easily layout and design game logic right from within the Unity editor in a completely visual manner. By attaching a Visualize Sequence component to any GameObject, the developer can then design that sequence to perform a series of actions. Instead of hardcoding a sequence in script, the developer can visually create the flow of the game within a robust editor.
While Visualize does include a built-in set of actions, the real power comes in the plugin’s extensibility. By simply writing a Unity script, a custom action, event, conditional, or even variable type can be created and then used in the editor. Once the script has been created, the developer only needs to save the script, and the custom action is made immediately available in the editor. No import process necessary!
To complete the “visual” aspect of the editor, when you press “Play” in Unity, each action is highlighted letting you know exactly how your sequences are playing out. There’s even a “Step” ability which pauses the editor at each action to help in debugging.






The Visualize editor is extremely useful in cases where the developer might want to create a highly scripted sequence of actions to occur. For example, in our upcoming game, we are using Visualize exclusively to control the spawning of waves of enemies. To do this, we first created a custom action that spawns the enemies in a variety of patterns. Then, we created another custom action that waits until a certain number of enemies has been destroyed before moving onto the next portion of the sequence. Using just these two actions, we’ve been able to design levels that flow naturally without having to hardcode anything!
Stay tuned for more information about this plugin, its availability, and how to get it
分享到: QQ好友和群QQ好友和群 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
转播转播0 分享淘帖0 收藏收藏0 支持支持0 反对反对0
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

手机版|纳金网 ( 闽ICP备2021016425号-2/3

GMT+8, 2025-7-14 20:29 , Processed in 0.058839 second(s), 28 queries .

Powered by Discuz!-创意设计 X2.5

© 2008-2019 Narkii Inc.

回顶部