Skip to main content

IMapObject_RigidListMethods

Trait IMapObject_RigidListMethods 

Source
pub trait IMapObject_RigidListMethods: IMapObject_RigidList {
    // Provided methods
    fn add(self, objects: impl Into<Array<GameObject>>) { ... }
    fn add_2(self, go: impl Into<GameObject>) { ... }
    fn set_break(self, enabled: impl Into<bool>) { ... }
    fn explosion(self, hit: impl Into<Vector3>, pow: impl Into<f32>) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn add(self, objects: impl Into<Array<GameObject>>)

Add(::unity::Array<crate::unity_engine::gameobject::GameObject>) overload

Source

fn add_2(self, go: impl Into<GameObject>)

Add(crate::unity_engine::gameobject::GameObject) overload

Source

fn set_break(self, enabled: impl Into<bool>)

SetBreak(bool) overload

Source

fn explosion(self, hit: impl Into<Vector3>, pow: impl Into<f32>)

Explosion(crate::unity_engine::vector3::Vector3, f32) overload

Source

fn ctor(self)

.ctor() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IMapObject_RigidList> IMapObject_RigidListMethods for __T

Available on crate feature app-mapobject only.