Installation#
Alias is a free module published by the Visual Script team. You install it from the Registry, which passes the package to Unity's Package Manager for you.
Visual Script comes first
This module extends Visual Script, so install Visual Script before adding it.
Installing the module#
- Open
Window→Visual Script→Settings, then select Registry in the sidebar. - Set the search field's dropdown to Modules and search for Alias.
- Select the module and press Install.
- Wait for the Package Manager to download the package and for Unity to recompile.
If the search doesn't find it, open the Alias page on the website, press Copy Git URL, and paste the URL into the Registry's search field.
Checking the result#
Once Unity finishes compiling, you'll see three changes:
- Alias appears under
Add Component→Visual Script. - Alias appears under
Aliasin Game Object Signal dropdowns, such as the one beside the Game Object field of a Set Active Instruction. - Change Alias ID appears under
Aliaswhen you add an Instruction.
Updating#
When a new version is available, the Registry shows an Update button next to the module. Modules never update on their own, so you choose when to install it.
Where to go next#
- Using Aliases — give your first object an ID and find it from an Event.
- Using the Registry — learn how the Registry finds, installs, and removes packages.