Skip to content
This repository has been archived by the owner on Jul 21, 2019. It is now read-only.

YURInc/YUR-Csharp-SDK

Repository files navigation

YUR C# SDK

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

MOTIVATION

This project allows access to YUR's API using YUR Native Plugin.

GETTING STARTED

This project requires Visual Studio 2015 or newer. Most Unity Versions should be compatible.

Example Use Code

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;
      });
    }
}

AUTHOR

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

PRODUCTION STATUS & SUPPORT

This project is in its early stages and will rapidly be improving.


Go back to the project description

Copyright © 2019 YUR Inc

About

C# DLL for accessing YUR's API

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages