pub struct PrefabModification {
pub m_Modifications: Vec<PropertyModification>,
pub m_RemovedComponents: Vec<PPtr>,
pub m_TransformParent: PPtr,
pub m_AddedComponents: Option<Vec<AddedComponent>>,
pub m_AddedGameObjects: Option<Vec<AddedGameObject>>,
pub m_RemovedGameObjects: Option<Vec<PPtr>>,
}
Expand description
PrefabModification is a sub class of the Unity engine since version 3.5.0.
Fields§
§m_Modifications: Vec<PropertyModification>
§m_RemovedComponents: Vec<PPtr>
Vec<PPtr<[Object
]>>: (3.5.0 - 2018.2.21f1); Vec<PPtr<Component
>>: (2018.3.0f2 - 2022.3.2f1)
m_TransformParent: PPtr
PPtr<Transform
>: (3.5.0 - 2022.3.2f1)
m_AddedComponents: Option<Vec<AddedComponent>>
Vec
m_AddedGameObjects: Option<Vec<AddedGameObject>>
Vec
m_RemovedGameObjects: Option<Vec<PPtr>>
Vec<PPtr<GameObject
>>: (2022.2.0b1 - 2022.3.2f1)
Trait Implementations§
Source§impl Debug for PrefabModification
impl Debug for PrefabModification
Source§impl<'de> Deserialize<'de> for PrefabModification
impl<'de> Deserialize<'de> for PrefabModification
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 PrefabModification
impl RefUnwindSafe for PrefabModification
impl Send for PrefabModification
impl Sync for PrefabModification
impl Unpin for PrefabModification
impl UnwindSafe for PrefabModification
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