Skip to main content

ss_instance_slot_reset

Function ss_instance_slot_reset 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn ss_instance_slot_reset(slot: *mut c_void)
Expand description

Reset the slot’s “last started key” memory to its just-created state without destroying it. Call on an explicit head-out (ss_runtime_play / replay) so a re-played animation re-fires the instance child from scratch instead of debouncing the first key as the same one the slot last started.