Skip to main content

IUIBehaviourMethods

Trait IUIBehaviourMethods 

Source
pub trait IUIBehaviourMethods: IUIBehaviour {
Show 14 methods // Provided methods fn awake(self) { ... } fn on_enable(self) { ... } fn start(self) { ... } fn on_disable(self) { ... } fn on_destroy(self) { ... } fn is_active(self) -> bool { ... } fn on_rect_transform_dimensions_change(self) { ... } fn on_before_transform_parent_changed(self) { ... } fn on_transform_parent_changed(self) { ... } fn on_did_apply_animation_properties(self) { ... } fn on_canvas_group_changed(self) { ... } fn on_canvas_hierarchy_changed(self) { ... } fn is_destroyed(self) -> bool { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn awake(self)

Awake() overload

Source

fn on_enable(self)

OnEnable() overload

Source

fn start(self)

Start() overload

Source

fn on_disable(self)

OnDisable() overload

Source

fn on_destroy(self)

OnDestroy() overload

Source

fn is_active(self) -> bool

IsActive() overload

Source

fn on_rect_transform_dimensions_change(self)

OnRectTransformDimensionsChange() overload

Source

fn on_before_transform_parent_changed(self)

OnBeforeTransformParentChanged() overload

Source

fn on_transform_parent_changed(self)

OnTransformParentChanged() overload

Source

fn on_did_apply_animation_properties(self)

OnDidApplyAnimationProperties() overload

Source

fn on_canvas_group_changed(self)

OnCanvasGroupChanged() overload

Source

fn on_canvas_hierarchy_changed(self)

OnCanvasHierarchyChanged() overload

Source

fn is_destroyed(self) -> bool

IsDestroyed() 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: IUIBehaviour> IUIBehaviourMethods for __T

Available on crate feature unity_engine-event_systems-uibehaviour only.