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

static function FindPrefabRoot (source : GameObject) : GameObject

Description

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