Class MonoScripts
Helper factory for MonoScript instances.
Inherited Members
Namespace: UnityEditorInternal
Assembly: UnityEditor.dll
Syntax
public static class MonoScripts
Methods
| Improve this Doc View SourceCreateMonoScript(String, String, String, String, Boolean)
Declaration
public static MonoScript CreateMonoScript(string scriptContents, string className, string nameSpace, string assemblyName, bool isEditorScript)
Parameters
Type | Name | Description |
---|---|---|
String | scriptContents | |
String | className | |
String | nameSpace | |
String | assemblyName | |
Boolean | isEditorScript |
Returns
Type | Description |
---|---|
MonoScript |