Skip to main content

IBehaviourMethods

Trait IBehaviourMethods 

Source
pub trait IBehaviourMethods: IBehaviour {
    // Provided methods
    fn get_enabled(self) -> bool { ... }
    fn set_enabled(self, value: impl Into<bool>) { ... }
    fn get_is_active_and_enabled(self) -> bool { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_enabled(self) -> bool

get_enabled() overload

Source

fn set_enabled(self, value: impl Into<bool>)

set_enabled(bool) overload

Source

fn get_is_active_and_enabled(self) -> bool

get_isActiveAndEnabled() 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: IBehaviour> IBehaviourMethods for __T

Available on crate feature unity_engine-behaviour only.