ScriptableObject.CreateInstance Manual     Reference     Scripting  
Scripting > Runtime Classes > ScriptableObject
ScriptableObject.CreateInstance

static function CreateInstance (className : string) : ScriptableObject

Description

Creates an instance of a scriptable object with className.

static function CreateInstance (type : Type) : ScriptableObject

Description

Creates an instance of a scriptable object with type.