Class CaptchaTerminalCanvas
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public class CaptchaTerminalCanvas : MonoBehaviour
- Inheritance
-
CaptchaTerminalCanvas
- Inherited Members
-
- Extension Methods
-
Constructors
CaptchaTerminalCanvas()
public CaptchaTerminalCanvas()
Fields
captchaText
public TextMeshProUGUI captchaText
Field Value
- TextMeshProUGUI
failureGo
public GameObject failureGo
Field Value
- GameObject
inputText
public TextMeshProUGUI inputText
Field Value
- TextMeshProUGUI
root
Field Value
- GameObject
showFailureTimeForTime
public float showFailureTimeForTime
Field Value
- float
terminalGo
public GameObject terminalGo
Field Value
- GameObject
timerText
public TextMeshProUGUI timerText
Field Value
- TextMeshProUGUI
triesText
public TextMeshProUGUI triesText
Field Value
- TextMeshProUGUI
Methods
AddChar(char)
public void AddChar(char inputChar)
Parameters
inputChar
char
Awake()
DoFailStuff(bool)
public void DoFailStuff(bool shake)
Parameters
shake
bool
FailScreen(bool)
public IEnumerator FailScreen(bool shake)
Parameters
shake
bool
Returns
- IEnumerator
SetCaptcha(string)
public void SetCaptcha(string captcha)
Parameters
captcha
string
public void SetInput(string input)
Parameters
input
string
SetTimer(float, float)
public void SetTimer(float timeLeft, float totalTime)
Parameters
timeLeft
float
totalTime
float
SetTries(int, int)
public void SetTries(int triesLeft, int maxTries)
Parameters
triesLeft
int
maxTries
int
Show()
StartGame(int, string, float)
public void StartGame(int maxTries, string captcha, float tryTime)
Parameters
maxTries
int
captcha
string
tryTime
float