EditorUtility.FindPrefabRoot Manual     Reference     Scripting  
Scripting > Editor Classes > EditorUtility
EditorUtility.FindPrefabRoot

static function FindPrefabRoot (source : GameObject) : GameObject

Description

Helper function to find the prefab root of an object (used for picking niceness)