public static bool OnOpenAsset(int instanceID, int line) { var gameObject = EditorUtility.InstanceIDToObject(instanceID) as GameObject; if (gameObject == null) { return(false); } return(PrefabSandbox.OpenPrefab(gameObject)); }
// PRAGMA MARK - Static Internal private static void OpenSandboxWithGuid(string guid) { PrefabSandbox.OpenPrefab(guid); }