pub trait IHubMascotControllerMethods: IHubMascotController {
Show 17 methods
// Provided methods
fn get_current_mode(self) -> HubMascotController_Mode { ... }
fn set_current_mode(self, value: impl Into<HubMascotController_Mode>) { ... }
fn get_agent(self) -> NavMeshAgent { ... }
fn get_follow(self) -> Transform { ... }
fn set_follow(self, value: impl Into<Transform>) { ... }
fn get_is_stop(self) -> bool { ... }
fn set_is_stop(self, value: impl Into<bool>) { ... }
fn get_default_look_at_target(self) -> GameObject { ... }
fn set_default_look_at_target(self, value: impl Into<GameObject>) { ... }
fn awake(self) { ... }
fn start(self) { ... }
fn set_bool(
self,
param_name: impl Into<Il2CppString>,
value: impl Into<bool>,
) { ... }
fn play(self, anim_name: impl Into<Il2CppString>, forced: impl Into<bool>) { ... }
fn update(self) { ... }
fn update_agent(self) { ... }
fn update_trace(self) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_current_mode(self) -> HubMascotController_Mode
fn get_current_mode(self) -> HubMascotController_Mode
get_CurrentMode() overload
Sourcefn set_current_mode(self, value: impl Into<HubMascotController_Mode>)
fn set_current_mode(self, value: impl Into<HubMascotController_Mode>)
set_CurrentMode(crate::app::hubmascotcontroller::HubMascotController_Mode) overload
Sourcefn get_agent(self) -> NavMeshAgent
fn get_agent(self) -> NavMeshAgent
get_Agent() overload
Sourcefn get_follow(self) -> Transform
fn get_follow(self) -> Transform
get_Follow() overload
Sourcefn set_follow(self, value: impl Into<Transform>)
fn set_follow(self, value: impl Into<Transform>)
set_Follow(crate::unity_engine::transform::Transform) overload
Sourcefn get_is_stop(self) -> bool
fn get_is_stop(self) -> bool
get_IsStop() overload
Sourcefn set_is_stop(self, value: impl Into<bool>)
fn set_is_stop(self, value: impl Into<bool>)
set_IsStop(bool) overload
Sourcefn get_default_look_at_target(self) -> GameObject
fn get_default_look_at_target(self) -> GameObject
get_DefaultLookAtTarget() overload
Sourcefn set_default_look_at_target(self, value: impl Into<GameObject>)
fn set_default_look_at_target(self, value: impl Into<GameObject>)
set_DefaultLookAtTarget(crate::unity_engine::gameobject::GameObject) overload
Sourcefn set_bool(self, param_name: impl Into<Il2CppString>, value: impl Into<bool>)
fn set_bool(self, param_name: impl Into<Il2CppString>, value: impl Into<bool>)
SetBool(::unity::Il2CppString, bool) overload
Sourcefn play(self, anim_name: impl Into<Il2CppString>, forced: impl Into<bool>)
fn play(self, anim_name: impl Into<Il2CppString>, forced: impl Into<bool>)
Play(::unity::Il2CppString, bool) overload
Sourcefn update_agent(self)
fn update_agent(self)
UpdateAgent() overload
Sourcefn update_trace(self)
fn update_trace(self)
UpdateTrace() 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: IHubMascotController> IHubMascotControllerMethods for __T
Available on crate feature
app-hubmascotcontroller only.