Skip to main content

Posts

Showing posts with the label unity open scenes tutorial

#Unity notes: Directing next scenes tutorial

Hi peeps, today i m testing on FB sdk, what i want to do is ... after i successfully logged in to fb, i want the game direct user to another scene. Im going to teach you guys from scratch how to achieve this...but in a simplified way. from this tutorial, you will learn how to direct the first scene to second scene. Steps: 1. Open Unity 2. Create new Scene Select "File" tab Select "New Scene"  3. Save the first scene as "First_Scene" Click File tab Select "Save Scene as..." 4. Create a new script Go to "Asset" folder in "Project" explorer Right click, select "Create">"C# Script" Name the script as "OpenScene" 5. Write code in "OpenScene" script Write code as written in the image below, *warning : Unity is case sensitive, ensure all written properly. In this code we create a simple button, and labeled it with "Open Next Scenes" If the...