Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

Unity SceneLoad by Name in Inspector

using UnityEngine;
using UnityEngine.SceneManagement;
public class testing : MonoBehaviour
{
    //type scene name in Inspector
	public string sceneToLoad ;

    public void Update()
    {
        SceneManager.LoadScene(sceneToLoad);
    }
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: create cursor in netezza 
Csharp :: uity pause game 
Csharp :: how to handle array getter setter in c# of string type 
Csharp :: ismirrored c# 
Csharp :: unity remove all child 
Csharp :: gridview edit update delete in asp.net textbox size 
Csharp :: c# aspx return image 
Csharp :: gridview column cell alignment form c# 
Csharp :: How to solve error in ExecuteNonQuery() in asp.net 
Csharp :: Difference between UnitOfWork and Repository Pattern 
Csharp :: c# properties making string required 
Csharp :: plays ervices unity sigin 
Csharp :: C# Blocks without statements 
Csharp :: make wpf run in fullscreen but above windows taskbar 
Csharp :: cs foreach int 
Csharp :: join 2 list rows into one row and add totals fields C# 
Csharp :: c# fold list 
Csharp :: how to create vg in aix 
Csharp :: c# ensure static constructor is called 
Csharp :: Remove tabpage by key 
Csharp :: lizzo net worth 
Csharp :: Runtime.getRuntime().addShutdownHook(printingHook); c# 
Csharp :: Process start web document 
Csharp :: netlifycms disable preview 
Csharp :: c# office interop copy slide to another pppt 
Csharp :: Nested objects with linq expression 
Csharp :: c# convert datatable to csv 
Csharp :: c# capitalize first letter of each word in a string 
Csharp :: loop c# 
Csharp :: transform face player unity 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =