Skip to main content
Version: 5.11.6

Method Description

Example function code

using BackEnd;
using UnityEngine;

public class NewBehaviourScript : MonoBehaviour {

void Start() {
Debug.Log(Backend.Initialize(false));
Debug.Log(Backend.BMember.CustomLogin("a0", "a0"));

// BackendPlus.Question.SetFirstKeyActive(false); // Paging function on/off
BackendPlus.Question.SetQuestionListReloadDelaySeconds(600); // Set inquiry list recall delay to 600 seconds
BackendPlus.Question.SetLanguageJsonName("English"); // Set UI language to English(Language set to Korean if not called)
BackendPlus.Question.OpenUI();
}
}

Open inquiry window

BackendPlus.Question.OpenUI();

Activates the 1:1 inquiry UI. Does not require a separate initialization method.
The inquiry window's position is reset each time it is open.

BackendPlus.Question.OpenUI();

Set reload delay for inquiry list

BackendPlus.Question.SetQuestionListReloadDelaySeconds(int delaySeconds);

VariableDescription
delaySecondsTime until reloading the inquiry list(in seconds)

Sets the delay until the inquiry list is reloaded from the server.
It is set to 300 seconds by default.

BackendPlus.Question.SetQuestionListReloadDelaySeconds(600);

Paging function on/off

BackendPlus.Question.SetFirstKeyActive(bool firstKeyActive);

VariableDescription
firstKeyActivetrue: Page 10 cases each / false: Only load the latest 10 cases

Sets paging, a feature that loads the next 10 inquiry types when the scroll reaches the bottom of the inquiry list UI. It is activated by default.

BackendPlus.Question.SetFirstKeyActive(false);

Change language

BackendPlus.Question.SetLanguageJsonName(string jsonName);

VariableDescription
jsonNameJSON file name(.json excluded)

Reads the JSON file located in the Assets > BackendPlus > UI > Question > Resources > BackendUI > Question folder. Korean and English files are provided by default.
When the following inquiry window is activated, the previous window is removed and replaced by the newly applied window.

BackendPlus.Question.SetLanguageJsonName("English");

Close inquiry window

BackendPlus.Question.CloseUI();

Deactivates the 1:1 inquiry UI. It remains disabled in the hierarchy.
The 'X' button on the right side of the 1:1 inquiry UI also uses this function.

BackendPlus.Question.CloseUI();

Remove UI object in a scene

BackendPlus.Question.DestroyUI();

Removes the 1:1 inquiry UI from the hierarchy and memory.

BackendPlus.Question.DestroyUI();

Delete all inquiry windows

BackendPlus.Question.DestroyAll();

Removes the 1:1 inquiry UI from the hierarchy and memory and frees the memory allocated to data and assets.

BackendPlus.Question.DestroyAll();