Show / Hide Table of Contents

Class MonoScriptExtensions

Several extension methods for working with UnityEditor.MonoScript objects

Inheritance
object
MonoScriptExtensions
Namespace: WeaverCore.Editor.Compilation
Assembly: WeaverCore.Editor.dll
Syntax
public static class MonoScriptExtensions

Methods

| Edit this page View Source

GetScriptAssemblyName(MonoScript)

Gets the assembly name a monoscript is a part of

Declaration
public static string GetScriptAssemblyName(this MonoScript script)
Parameters
Type Name Description
MonoScript script
Returns
Type Description
string
| Edit this page View Source

GetScriptNamespace(MonoScript)

Gets the namespace the monoscript is a part of

Declaration
public static string GetScriptNamespace(this MonoScript script)
Parameters
Type Name Description
MonoScript script
Returns
Type Description
string
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾