GETTING STARTED | AUTHOR | SUPPORT | YUR Discord
This project produces the YUR.SDK.UNITY.dll found within YUR Asset Package
The most recent version of the plugin can be built from master or acquired from the releases within the Unity Asset Package
This project allows access to YUR's API using YUR Native Plugin.
This project requires Visual Studio 2015 or newer. Most Unity Versions should be compatible.
using YUR.SDK.Unity;
public class Login2Yur : Monobehaviour
{
public GameObject Submit;
public GameObject LoginIssues;
void Awake(){
Submit.GetComponent<Button>().onClick.AddListener(delegate
{
UserManagement.YUR_UserManager.Successful_Login += YUR_UserManager_Successful_Login;
UserManagement.YUR_UserManager.Bad_Login += YUR_UserManager_Bad_Login;
string Login_Issues;
if (Login.Email_Password(EmailInput.GetComponent<YURInputSetup>().Input.text, PasswordInput.GetComponent<YURInputSetup>().Input.text, out Login_Issues))
{
YURScreenCoordinator.ScreenCoordinator.Keyboard.SetActive(false);
}
LoginIssues.GetComponent<Text>().text = Login_Issues;
});
}
}
YUR is a company dedicated to conjoining fitness and immersive gaming. To find out more and contact the creators directly Visit our discord | https://yur.chat
This project is in its early stages and will rapidly be improving.
Go back to the project description
Copyright © 2019 YUR Inc