pub struct AddedComponent {
pub addedObject: PPtr,
pub insertIndex: i32,
pub targetCorrespondingSourceObject: PPtr,
}
Expand description
AddedComponent is a sub class of the Unity engine since version 2022.2.0b1. Exert from Unity’s scripting documentation: Class with information about a component that has been added to a Prefab instance.
Fields§
§addedObject: PPtr
PPtr<Component
>: (2022.2.0b1 - 2022.3.2f1)
insertIndex: i32
§targetCorrespondingSourceObject: PPtr
PPtr<GameObject
>: (2022.2.0b1 - 2022.3.2f1)
Trait Implementations§
Source§impl Debug for AddedComponent
impl Debug for AddedComponent
Source§impl<'de> Deserialize<'de> for AddedComponent
impl<'de> Deserialize<'de> for AddedComponent
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 AddedComponent
impl RefUnwindSafe for AddedComponent
impl Send for AddedComponent
impl Sync for AddedComponent
impl Unpin for AddedComponent
impl UnwindSafe for AddedComponent
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