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§
Sourcefn get_enabled(self) -> bool
fn get_enabled(self) -> bool
get_enabled() overload
Sourcefn set_enabled(self, value: impl Into<bool>)
fn set_enabled(self, value: impl Into<bool>)
set_enabled(bool) overload
Sourcefn get_is_active_and_enabled(self) -> bool
fn get_is_active_and_enabled(self) -> bool
get_isActiveAndEnabled() 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§
impl<__T: IBehaviour> IBehaviourMethods for __T
Available on crate feature
unity_engine-behaviour only.