PluginImporter

Struct PluginImporter 

Source
pub struct PluginImporter {
Show 15 fields pub m_AssetBundleName: String, pub m_AssetBundleVariant: String, pub m_ExecutionOrder: Vec<(String, i32)>, pub m_IconMap: Vec<(String, PPtr)>, pub m_IsPreloaded: bool, pub m_Name: String, pub m_Output: PluginImportOutput, pub m_PlatformData: Vec<(Enum_String__String___String, PlatformSettingsData)>, pub m_UserData: String, pub m_DefineConstraints: Option<Vec<String>>, pub m_ExternalObjects: Option<Vec<(SourceAssetIdentifier, PPtr)>>, pub m_IsExplicitlyReferenced: Option<bool>, pub m_IsOverridable: Option<bool>, pub m_UsedFileIDs: Option<Vec<i64>>, pub m_ValidateReferences: Option<bool>,
}
Expand description

PluginImporter is a class of the Unity engine since version 5.0.0f4. Exert from Unity’s scripting documentation: Represents a plugin importer.

Fields§

§m_AssetBundleName: String

Get or set the AssetBundle name.

§m_AssetBundleVariant: String

Get or set the AssetBundle variant.

§m_ExecutionOrder: Vec<(String, i32)>§m_IconMap: Vec<(String, PPtr)>

Vec<(String, PPtr<Texture2D>)>: (5.0.0f4 - 2022.3.2f1)

§m_IsPreloaded: bool

Is a native plugin loaded during startup or on demand?

§m_Name: String

The name of the object.

§m_Output: PluginImportOutput§m_PlatformData: Vec<(Enum_String__String___String, PlatformSettingsData)>§m_UserData: String

Get or set any user data.

§m_DefineConstraints: Option<Vec<String>>

Allows you to specify a list of #define directives which controls whether your plug-in should be included. Vec: (2018.3.0f2 - 2022.3.2f1)

§m_ExternalObjects: Option<Vec<(SourceAssetIdentifier, PPtr)>>

Vec<(SourceAssetIdentifier, PPtr<[Object]>)>: (2017.2.0b2 - 2022.3.2f1)

§m_IsExplicitlyReferenced: Option<bool>

bool: (2018.3.0f2 - 2022.3.2f1)

§m_IsOverridable: Option<bool>

bool: (5.5.0f3 - 2022.3.2f1)

§m_UsedFileIDs: Option<Vec<i64>>

Vec: (2019.1.0b1 - 2022.3.2f1)

§m_ValidateReferences: Option<bool>

bool: (2018.3.10f1 - 2022.3.2f1)

Trait Implementations§

Source§

impl Debug for PluginImporter

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for PluginImporter

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for PluginImporter

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,