Answers for "editor play mode in unity through scripting"

C#
0

editor play mode in unity through scripting

[MenuItem("Play/PlayMe")]
public static void BuildAssetBundles()
{   
  EditorApplication.isPlaying = true;    
  /*EditorApplication.NewScene();    
  GameObject go = new GameObject("PlayMode");    
  go.AddComponent<PlaySomeMonoBehaviour>().WhatToDo = PlaySomeMonoBehaviour.PlayMe;*/
  }
Posted by: Guest on March-13-2021

Code answers related to "editor play mode in unity through scripting"

C# Answers by Framework

Browse Popular Code Answers by Language