- 最后登录
- 2014-10-23
- 注册时间
- 2011-7-19
- 阅读权限
- 90
- 积分
- 81303
 
- 纳金币
- -1
- 精华
- 11
|
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 |
|