pub struct BrokenPrefabAsset {
pub m_BrokenParentPrefab: PPtr,
pub m_IsPrefabFileValid: bool,
pub m_IsVariant: bool,
pub m_IsWarning: bool,
pub m_Message: String,
pub m_Name: String,
}Expand description
BrokenPrefabAsset is a class of the Unity engine since version 2022.2.0b1. Exert from Unity’s scripting documentation: BrokenPrefabAsset is for Prefab files where the file content cannot be loaded without errors. A Prefab Asset can be broken if the content of the file invalid or if it is a Variant Prefab where the parent Prefab is either invalid or missing.Search for t:BrokenPrefabAsset in the project browser to see which assets are of that type.
Fields§
§m_BrokenParentPrefab: PPtrPPtr<BrokenPrefabAsset>: (2022.2.0b1 - 2022.3.2f1)
m_IsPrefabFileValid: boolReturns true if the content of the file is valid.
m_IsVariant: boolReturns true if the prefab is a variant.
m_IsWarning: bool§m_Message: String§m_Name: StringThe name of the object.
Trait Implementations§
Source§impl Debug for BrokenPrefabAsset
impl Debug for BrokenPrefabAsset
Source§impl<'de> Deserialize<'de> for BrokenPrefabAsset
impl<'de> Deserialize<'de> for BrokenPrefabAsset
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BrokenPrefabAsset
impl RefUnwindSafe for BrokenPrefabAsset
impl Send for BrokenPrefabAsset
impl Sync for BrokenPrefabAsset
impl Unpin for BrokenPrefabAsset
impl UnwindSafe for BrokenPrefabAsset
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more