Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

InvalidOperationException: Calling Scene Raisefrom assembly reloading callbacks are not supported.

//Delay the open scene method call.
private void OpenScene()
{
  EditorApplication.delayCall += OpenSceneDelay;
}

private void OpenSceneDelay()
{
  EditorApplication.delayCall -= OpenSceneDelay;
  EditorSceneManager.OpenScene(ScenePath, OpenSceneMode.Additive);
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: How to Create Hint, PlaceHolder Text, Watermark In a TextBox vb.net 
Csharp :: snx disconnect linux 
Csharp :: how to get the time since play unity 
Csharp :: how to stop player rotating when hit by object 
Csharp :: unity list to array 
Csharp :: c# multiline string with variables 
Csharp :: constraint unity 2d 
Csharp :: Arrange array element in right and left order starting from least element 
Csharp :: oncollisionenter 
Csharp :: how to unfreeze a rotation in a collider unity 2d 
Csharp :: c# générer un nombre aléatoire 
Csharp :: c# file exist 
Csharp :: check if panel has controler c# 
Csharp :: unity detect if animation is playing 
Csharp :: how to add b to a string in java 
Csharp :: c# how to exit program 
Csharp :: wpf yes no message box exit 
Csharp :: unity change color of sprite in script 
Csharp :: monodevelop ubuntu 20.04 
Csharp :: c# and 
Csharp :: c sharp split string 
Csharp :: All SQL Server Tables in a Schema 
Csharp :: string length c# 
Csharp :: c# odd even median 
Csharp :: how to move a gameobject 
Csharp :: c# how to terminate console application 
Csharp :: read xml file c# 
Csharp :: c# array of strings 
Csharp :: c# timer 
Csharp :: how to change color of a sprite in unity 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =