pub struct Prefab {
pub m_RootGameObject: PPtr,
pub m_ContainsMissingSerializeReferenceTypes: Option<bool>,
pub m_HideFlagsBehaviour: Option<i32>,
pub m_IsExploded: Option<bool>,
pub m_IsPrefabAsset: Option<bool>,
pub m_IsPrefabParent: Option<bool>,
pub m_Modification: Option<PrefabModification>,
pub m_ParentPrefab: Option<PPtr>,
pub m_SourcePrefab: Option<PPtr>,
}Expand description
Prefab is a class of the Unity engine since version 3.5.0.
Fields§
§m_RootGameObject: PPtrPPtr<GameObject>: (3.5.0 - 2022.3.2f1)
m_ContainsMissingSerializeReferenceTypes: Option<bool>bool: (2021.2.0b1 - 2022.3.2f1)
m_HideFlagsBehaviour: Option<i32>i32: (2020.1.0b1 - 2022.3.2f1)
m_IsExploded: Option<bool>bool: (3.5.0 - 4.7.2)
m_IsPrefabAsset: Option<bool>bool: (2018.2.0b1 - 2018.2.21f1)
m_IsPrefabParent: Option<bool>bool: (3.5.0 - 2018.1.9f2)
m_Modification: Option<PrefabModification>PrefabModification: (3.5.0 - 2018.2.21f1)
m_ParentPrefab: Option<PPtr>PPtr<Prefab>: (3.5.0 - 2018.1.9f2)
m_SourcePrefab: Option<PPtr>PPtr<Prefab>: (2018.2.0b1 - 2018.2.21f1)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Prefab
impl<'de> Deserialize<'de> for Prefab
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 Prefab
impl RefUnwindSafe for Prefab
impl Send for Prefab
impl Sync for Prefab
impl Unpin for Prefab
impl UnwindSafe for Prefab
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