1.4.1
Documentation for the Unity C# Library
Loading...
Searching...
No Matches
LoginButtonScript.cs
Go to the documentation of this file.
1
using
System.Collections;
2
using
System.Collections.Generic;
3
using
UnityEngine;
4
using
UnityEngine.UI;
5
using
PixoVR.Apex
;
6
7
public
class
LoginButtonScript
:
MonoBehaviour
8
{
9
public
InputField
UsernameField
;
10
public
InputField
PasswordField
;
11
12
// Start is called before the first frame update
13
void
Start
()
14
{
15
16
}
17
18
// Update is called once per frame
19
void
Update
()
20
{
21
22
}
23
24
public
void
LoginClicked
()
25
{
26
ApexSystem
.
Login
(
UsernameField
.text,
PasswordField
.text);
27
}
28
29
public
void
GetUserClicked
()
30
{
31
ApexSystem
.
GetCurrentUser
();
32
}
33
}
LoginButtonScript
Definition
LoginButtonScript.cs:8
LoginButtonScript.GetUserClicked
void GetUserClicked()
Definition
LoginButtonScript.cs:29
LoginButtonScript.Start
void Start()
Definition
LoginButtonScript.cs:13
LoginButtonScript.PasswordField
InputField PasswordField
Definition
LoginButtonScript.cs:10
LoginButtonScript.UsernameField
InputField UsernameField
Definition
LoginButtonScript.cs:9
LoginButtonScript.LoginClicked
void LoginClicked()
Definition
LoginButtonScript.cs:24
LoginButtonScript.Update
void Update()
Definition
LoginButtonScript.cs:19
MonoBehaviour
PixoVR.Apex.ApexSystem
Definition
ApexSystem.cs:23
PixoVR.Apex.ApexSystem.GetCurrentUser
static bool GetCurrentUser()
Definition
ApexSystem.cs:624
PixoVR.Apex.ApexSystem.Login
static bool Login(LoginData login)
Definition
ApexSystem.cs:589
PixoVR.Apex
Definition
PixoAndroidUtils.cs:6
Samples
DemoApexReporter
LoginButtonScript.cs
Generated
Mon Sep 16 2024 19:27:34
by Doxygen version
1.10.0