MonoScript

class in UnityEditor

Switch to Manual

Description

Representation of Script assets.

This class represents C#, JavaScript and Boo files stored in the project.

Public Functions

GetClassReturns the System.Type object of the class implemented by this script.

Static Functions

FromMonoBehaviourReturns the MonoScript object containing specified MonoBehaviour.
FromScriptableObjectReturns the MonoScript object containing specified ScriptableObject.