Wrapper for the PDA system as present in some microgames.
public void Show(int pdaType, bool autoHide = true)
(Client) Shows the PDA.
Arguments
(PDAType) The type of the PDA prompt to show (PDAType.Trivia, PDAType.Input, PDAType.Sequence). [pdaType]
(bool) Should the PDA UI automatically hide after an answer? (defaults to true) [autoHide]
public void SetInputMessage(string text, bool onlyNumeric = false)
(Client) Set the message shown in the "input" PDA variation.
Arguments
(string) The message. [text]
(bool) Whether this is only an input that allows numbers. (defaults to false) [onlyNumeric]
public void SetTriviaQuestion(string question, string[] answers, string category = "", string difficulty = "")
(Client) Set the question for the "trivia" PDA variation.
Arguments
(string) The question. [question]
(strings[]) The answers (no more than 4 and no less than 1). [answers]
(string) The category of the question. (defaults to blank) [category]
(string) The difficulty of the question. (defaults to blank) [difficulty]
public void SetSequenceQuestion(string question, int sequenceLength)
(Client) Set the question of the "sequence" PDA variation.
Arguments
(string) The question. [question]
(int) The length of the sequence. [sequenceLength]
public void Hide()
(Client) Hides the PDA.