Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

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

ScriptableObject.CreateInstance

Switch to Manual
public static ScriptableObject CreateInstance(string className);

Parameters

Description

Creates an instance of a scriptable object with className.


public static ScriptableObject CreateInstance(Type type);

Parameters

Description

Creates an instance of a scriptable object with type.


public static T CreateInstance();

Description

Creates an instance of a scriptable object with T.