Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

unity reset scene

//for unity c#
using UnityEngine.SceneManagement;
...
SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex);
Comment

unity reset scene



if (Input.GetKeyDown(KeyCode.R))  
    SceneManager.LoadScene( SceneManager.GetActiveScene().buildIndex ) ;


Comment

unity reset scene

if (Input.GetKeyDown(KeyCode.R))  
    SceneManager.LoadScene( SceneManager.GetActiveScene().buildIndex ) ;
Comment

PREVIOUS NEXT
Code Example
Csharp :: ms crm set state request dynamics 365 set state request 
Csharp :: vb.net yes no cancel 
Csharp :: unity hide mouse 
Csharp :: unity create random string 
Csharp :: unity how to change max fps 
Csharp :: unity check collider layer 
Csharp :: c sharp how to read a text file 
Csharp :: c# create a text file 
Csharp :: how to detect mouse click in c# 
Csharp :: c# get pc ip address 
Csharp :: como crear un numero aleatorio en c# 
Csharp :: unity get layer of gameobject 
Csharp :: c# copy file to directory 
Csharp :: unity get distance between two objects 
Csharp :: set width of rect transform unity 
Csharp :: get unix time in seconds C# 
Csharp :: print out a dictionary c# 
Csharp :: raycast shoot unity 
Csharp :: get program path c# 
Csharp :: c# datagridview hide column 
Csharp :: decimal in .asp.net core 
Csharp :: c# get display resolution 
Csharp :: C# cycle through directory 
Csharp :: c# reverse string 
Csharp :: how to detect when a player move in unity 
Csharp :: c# wpf keyinput DeadCharProcessed 
Csharp :: unity how to wait for seconds without coroutine 
Csharp :: set mouse over colors for button wpf 
Csharp :: c# add item to a lsit 
Csharp :: hide game obj oncollisionenter 
ADD CONTENT
Topic
Content
Source link
Name
7+6 =