void DrawPageUISoundsRefreshButton(float width) { QUI.BeginHorizontal(width); { QUI.Space(SPACE_8); if (QUI.SlicedButton("Refresh the UISounds Database", QColors.Color.Gray, width - 16, 18)) { DUIData.Instance.ScanForUISounds(true); } QUI.Space(SPACE_8); } QUI.EndHorizontal(); }
void DrawPageAnimatorPresetsRefreshButton(float width) { QUI.BeginHorizontal(width); { QUI.Space(SPACE_8); if (QUI.SlicedButton("Refresh the Animator Presets Databases", QColors.Color.Gray, width - 16, 18)) { DUIData.Instance.ScanForInAnimations(true); DUIData.Instance.ScanForOutAnimations(true); DUIData.Instance.ScanForLoopAnimations(true); DUIData.Instance.ScanForPunchAnimations(true); DUIData.Instance.ScanForStateAnimations(true); } QUI.Space(SPACE_8); } QUI.EndHorizontal(); }