Function rrise::game_syncs::set_switch
source · [−]pub fn set_switch<'a, T: Into<AkID<'a>>>(
switch_group: T,
switch_id: T,
game_obj: AkGameObjectID
) -> Result<(), AkResult>Expand description
Sets the State of a Switch Group.
Always returns AkResult::AK_Success.
Panics if switch_group and switch_id are not of the same variant.