Manual     Reference     Scripting  
  
Scripting > Editor Classes > EditorUtility   

EditorUtility.CreateEmptyPrefab  

static function CreateEmptyPrefab (path : string) : Object

Description

Creates an empty prefab at given path.

If a prefab at the path already exists it will be deleted and replaced with an empty prefab. Returns a reference to the prefab.