Manual     Reference     Scripting  
  
Scripting > Editor Classes > MonoScript   
  • Menu
  • Overview
  • Runtime Classes
  • Attributes
  • Enumerations
  • Editor Classes
  • Attributes
  • Enumerations
  • History
  • Index
  • MonoScript
  • All Members
  • Functions
  • GetClass
  • Class Functions
  • FromMonoBehaviour
  • FromScriptableObject
  • Inherited Variables
  • bytes
  • hideFlags
  • name
  • text
  • Inherited Functions
  • GetInstanceID
  • ToString
  • Inherited Class Functions
  • Destroy
  • DestroyImmediate
  • DontDestroyOnLoad
  • FindObjectOfType
  • FindObjectsOfType
  • Instantiate
  • operator !=
  • operator ==
  • operator bool

MonoScript.FromScriptableObject  

static function FromScriptableObject (scriptableObject : ScriptableObject) : MonoScript

Parameters

NameDescription
scriptableObject The ScriptableObject whose MonoScript should be returned

Description

Returns the MonoScript object containing specified ScriptableObject