Unity Scene Change

Unity Scene Change

Unity Scene Change

How to change scenes on unity

Unity Scene Change

Hi guys, i yet learning unity tutorials. i can share sometimes for development tutorials on my blog site.

First sharing for the C# Scripting on Unity Scenes.
If you have multi scenes,  if you required sometimes can change scene. 

Okay.

Project > Assets> Left Click > Create > C# Script > SceneManagement.cs 

I think for this, you press C to change to Scene.

Code;

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class SceneManagement : MonoBehaviour
{
    void Start()
    {
        if (Input.GetKeyDown(KeyCode.C))
        {
            Application.LoadLevel("MainScene");
        }
    }

void Update()
    {  
    }
}


İlgili kelimeler;
unity change scene
İlgili kategori;
Unity Programming
Makaleyi paylaşın; Google+FacebookTwitterTumblrPinterestLinkedIn

Benzer makaleler mi eklemeliyim ? Bana LinkedIn ve Github adreslerimden üzerinden ulaşabilirsiniz.