pub trait ITMP_SpriteAnimatorMethods: ITMP_SpriteAnimator {
// Provided methods
fn awake(self) { ... }
fn on_enable(self) { ... }
fn on_disable(self) { ... }
fn stop_all_animations(self) { ... }
fn do_sprite_animation(
self,
current_character: impl Into<i32>,
sprite_asset: impl Into<TMP_SpriteAsset>,
start: impl Into<i32>,
end: impl Into<i32>,
framerate: impl Into<i32>,
) { ... }
fn do_sprite_animation_internal(
self,
current_character: impl Into<i32>,
sprite_asset: impl Into<TMP_SpriteAsset>,
start: impl Into<i32>,
end: impl Into<i32>,
framerate: impl Into<i32>,
) -> IEnumerator { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn on_disable(self)
fn on_disable(self)
OnDisable() overload
Sourcefn stop_all_animations(self)
fn stop_all_animations(self)
StopAllAnimations() overload
Sourcefn do_sprite_animation(
self,
current_character: impl Into<i32>,
sprite_asset: impl Into<TMP_SpriteAsset>,
start: impl Into<i32>,
end: impl Into<i32>,
framerate: impl Into<i32>,
)
fn do_sprite_animation( self, current_character: impl Into<i32>, sprite_asset: impl Into<TMP_SpriteAsset>, start: impl Into<i32>, end: impl Into<i32>, framerate: impl Into<i32>, )
DoSpriteAnimation(i32, crate::tm_pro::tmp_spriteasset::TMP_SpriteAsset, i32, i32, i32) overload
Sourcefn do_sprite_animation_internal(
self,
current_character: impl Into<i32>,
sprite_asset: impl Into<TMP_SpriteAsset>,
start: impl Into<i32>,
end: impl Into<i32>,
framerate: impl Into<i32>,
) -> IEnumerator
fn do_sprite_animation_internal( self, current_character: impl Into<i32>, sprite_asset: impl Into<TMP_SpriteAsset>, start: impl Into<i32>, end: impl Into<i32>, framerate: impl Into<i32>, ) -> IEnumerator
DoSpriteAnimationInternal(i32, crate::tm_pro::tmp_spriteasset::TMP_SpriteAsset, i32, i32, i32) 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: ITMP_SpriteAnimator> ITMP_SpriteAnimatorMethods for __T
Available on crate feature
tm_pro-tmp_spriteanimator only.