16 lines
		
	
	
		
			369 B
		
	
	
	
		
			C#
		
	
	
	
	
	
		
		
			
		
	
	
			16 lines
		
	
	
		
			369 B
		
	
	
	
		
			C#
		
	
	
	
	
	
|  | using JetBrains.Annotations; | ||
|  | using UnityEditor; | ||
|  | 
 | ||
|  | namespace JetBrains.Rider.Unity.Editor | ||
|  | { | ||
|  |   // Do not rename this class while you don't rename startup command for dotTrace profiler | ||
|  |   [UsedImplicitly] | ||
|  |   internal static class StartUpMethodExecutor | ||
|  |   { | ||
|  |     [UsedImplicitly] | ||
|  |     public static void EnterPlayMode() | ||
|  |     { | ||
|  |       EditorApplication.isPlaying = true; | ||
|  |     } | ||
|  |   } | ||
|  | } |