pub struct PropertyModification {
pub objectReference: PPtr,
pub propertyPath: String,
pub target: PPtr,
pub value: String,
}Expand description
PropertyModification is a sub class of the Unity engine since version 3.5.0. Exert from Unity’s scripting documentation: Defines a single modified property. Used by the Prefab system to track any changes applied to an instance.
Fields§
§objectReference: PPtrThe value being applied when it is an object reference (which can not be represented as a string).
PPtr<[Object]>: (3.5.0 - 2022.3.2f1)
propertyPath: StringProperty path of the property being modified (Matches as SerializedProperty.propertyPath).
target: PPtrObject that will be modified.
PPtr<[Object]>: (3.5.0 - 2022.3.2f1)
value: StringThe value being applied.
Trait Implementations§
Source§impl Debug for PropertyModification
impl Debug for PropertyModification
Source§impl<'de> Deserialize<'de> for PropertyModification
impl<'de> Deserialize<'de> for PropertyModification
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 PropertyModification
impl RefUnwindSafe for PropertyModification
impl Send for PropertyModification
impl Sync for PropertyModification
impl Unpin for PropertyModification
impl UnwindSafe for PropertyModification
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