GetAssetPack

Singleton Subgraph (Unity Visual Scripting)

Singleton Subgraph (Unity Visual Scripting)
Price
Free
Creator
Munchmo
License
CC BY-SA 4.0

Unity Visual Scripting Singleton Subgraph

Available on

Search by image

Upload a reference to find previews with similar colors, contrast, and detail.

Singleton Subgraph (Unity Visual Scripting)

Singleton Subgraph (Unity Visual Scripting)
Munchmo · itch.ioFree
Creative Commons Attribution_ShareAlike v4.0 International
  • i Check the terms on the original listing.
Show full terms

Unity Visual Scripting Singleton Subgraph

View original listing

Description

This asset requires Unity editor version 2021.2.0b14 or greater and Unity Visual Scripting version 1.7.2 or greater.

A singleton restricts the instantiation of a GameObject to one "single" instance that persists between scenes. This is useful when exactly one GameObject is needed to coordinate actions across the project. Example uses are for inventory tracking, sound managers, player characters, etc.

To Install:

Show full description...

Right-click an empty area in your project window. Select Import Package > Custom Package from the context menu. Find and open the Singleton unitypackage file then click Import on the window that opens.

To Use:

Attach to On Start Event node of GameObject that you want to become a singleton.

*Uses an App variable named the same as the GameObject running this Subgraph, which it creates during play if it doesn't already exist.

Tags

boltnodescriptsuper-unitsuperunitUnityunity3dvisual-scriptingvisualscripting

Downloads

Name your own price.