Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

MonoScript.FromScriptableObject

static function FromScriptableObject(scriptableObject: ScriptableObject): MonoScript;
static MonoScript FromScriptableObject(ScriptableObject scriptableObject);
static def FromScriptableObject(scriptableObject as ScriptableObject) as MonoScript

Parameters

scriptableObjectThe ScriptableObject whose MonoScript should be returned.

Description

Returns the MonoScript object containing specified ScriptableObject.