Knowledge Base - Edit Menu

iCanScript extends Unity’s Edit menu with navigation features and the ability to create a Visual script as depicted in the below figure.

Figure 1. iCanScript Edit menu extension.
Figure 1. iCanScript Edit menu extension.

Edit->iCanScript->Create Visual Script

Summary:

    Attaches a visual script component to the selected game object.  

Description:

The Create Visual Script menu item is used to attach an iCanScript Visual Script component to the selected game object.

The Visual Script component is at the root of your visual script. It includes the iCanScript engine code that compiles and runs the visual script when the Unity engine runs. It also saves & reloads your visual script when the scene in which it is contained is saved or reloaded.

A game object containing an iCanScript Visual Script can be edited using the visual editor.

Table 1. Create Visual Script Enable State
Menu State Condition
Enabled - Selected game object without a Visual Script component.
Disabled - No selected object;
- Selected object already has a Visual Script component.

Edit->iCanScript->Center Visual Script

Summary:

    Centres the visual script in the viewport.  

Description:

The Center Visual Script menu item is used to reposition the visual script in the centre of the visual editor viewport.

The zoom factor of the viewport may be adjusted to improve visual script visibility.

Edit->iCanScript->Center Selected

Summary:

    Centres the selected node / port in the viewport.  

Description:

The Center Selected menu item is used to reposition the selected node in the centre of the visual editor viewport.

The zoom factor of the viewport may be adjusted to improve selected node visibility.

Details

Created : 2015-03-16 20:25:44, Last Modified : 2015-03-16 20:25:44

User Comments

Add a Comment

Search Articles

Member Login