A downloadable asset pack

Download NowName your own price

This Unity Package is a solution to load any scene by name when pressing a button of the user interface.

To use this solution you only need to place it on any GameObject of your scene, I suggest you create an empty GameObject and call it a meaningful way like "Scene Loader", then attach to it the script that comes in the package.

To make a button load a scene, in the On Click event of the button add a new event, drag the GameObject that has the scene loader script and select the "LoadScene" function from the list. Finally write the name of the scene you want to load in the field that appears.

For more information check the video tutorial of this solution.

Content of the package

  • 3 example scenes
  • Instructions on how this solution works and links to informative videos
  • Example script to load scene by name (can be used directly in your project)
  • Responsive user interface

HOW TO IMPORT A UNITY PACKAGE:

SUBSCRIBE TO THE CHANNEL TO SUPPORT THIS CONTENT


Download

Download NowName your own price

Click download now to get access to the following files:

GameDevTraum-Load-Scene-By-Name-With-Button-v4.unitypackage 24 kB

Leave a comment

Log in with itch.io to leave a comment.