LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

MonoScript.FromScriptableObject

public static MonoScript FromScriptableObject(ScriptableObject scriptableObject);

Parameters

scriptableObjectThe ScriptableObject whose MonoScript should be returned.

Description

Returns the MonoScript object containing specified ScriptableObject.