Version: 2022.2
public bool isPrefabFileValid ;

描述

Returns true if the content of the file is valid.

The content of a prefab file can be valid but still produce a BrokenPrefabAsset if it is a variant and the parent is missing or invalid.