Skip to content

[한] X 버튼 타입 변경

Gyeonghwan edited this page Dec 14, 2016 · 1 revision

X 버튼 타입 변경

X 버튼 클릭 시 동작할 타입을 변경한다.

  • X 버튼 옵션 변경 기능은 플러그 SDK 2.2.0 이상부터 지원한다.

theme

X 버튼 타입

/**
 * kXButtonTypeMinimize : PLUG 재실행 시 마지막으로 화면에서 시작한다. (기본값)
 * kXButtonTypeClose : PLUG 재실행 시 처음부터 시작한다.
**/
UENUM()
enum class EXButtonType : uint8
{
    kXButtonTypeMinimize = 0,
    kXButtonTypeClose = 1
};
void UCafeSdkBlueprintLibrary::SetXButtonType(EXButtonType Type);

다음은 X 버튼 타입 변경을 구현한 예다.

UCafeSdkBlueprintLibrary::SetXButtonType(EXButtonType::kXButtonTypeMinimize);