pub struct MonoImporter {
pub executionOrder: i16,
pub icon: PPtr,
pub m_DefaultReferences: Vec<(String, PPtr)>,
pub m_Name: String,
pub m_AssetBundleName: Option<String>,
pub m_AssetBundleVariant: Option<String>,
pub m_ExternalObjects: Option<Vec<(SourceAssetIdentifier, PPtr)>>,
pub m_FileIDToRecycleName: Option<Vec<(i32, String)>>,
pub m_NewHashIdentity: Option<MdFour>,
pub m_OldHashIdentity: Option<MdFour>,
pub m_UsedFileIDs: Option<Vec<i64>>,
pub m_UserData: Option<String>,
}Expand description
MonoImporter is a class of the Unity engine since version 3.4.0. Exert from Unity’s scripting documentation: Represents a C# script in the project.
Fields§
§executionOrder: i16§icon: PPtrPPtr<Texture2D>: (3.4.0 - 2022.3.2f1)
m_DefaultReferences: Vec<(String, PPtr)>Vec<(String, PPtr<[Object]>)>: (3.4.0 - 2022.3.2f1)
m_Name: StringThe name of the object.
m_AssetBundleName: Option<String>Get or set the AssetBundle name. String: (5.0.0f4 - 2022.3.2f1)
m_AssetBundleVariant: Option<String>Get or set the AssetBundle variant. String: (5.0.0f4 - 2022.3.2f1)
m_ExternalObjects: Option<Vec<(SourceAssetIdentifier, PPtr)>>Vec<(SourceAssetIdentifier, PPtr<[Object]>)>: (2017.2.0b2 - 2022.3.2f1)
m_FileIDToRecycleName: Option<Vec<(i32, String)>>Vec<(i32, String)>: (3.4.0 - 3.4.2)
m_NewHashIdentity: Option<MdFour>MdFour: (3.4.0 - 3.4.2)
m_OldHashIdentity: Option<MdFour>MdFour: (3.4.0 - 3.4.2)
m_UsedFileIDs: Option<Vec<i64>>Vec
m_UserData: Option<String>Get or set any user data. String: (4.0.0 - 2022.3.2f1)
Trait Implementations§
Source§impl Debug for MonoImporter
impl Debug for MonoImporter
Source§impl<'de> Deserialize<'de> for MonoImporter
impl<'de> Deserialize<'de> for MonoImporter
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 MonoImporter
impl RefUnwindSafe for MonoImporter
impl Send for MonoImporter
impl Sync for MonoImporter
impl Unpin for MonoImporter
impl UnwindSafe for MonoImporter
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