A downloadable subgraph node

Download NowName your own price

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:
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.


Download NowName your own price

Click download now to get access to the following files:

Singleton.unitypackage 2 kB

Development log

Leave a comment

Log in with itch.io to leave a comment.