I'm totally new in this, anyway I have downloaded the sample file for unity and I have passed the API key and secret key in constant file.
when I run the file in the unity editor I got many buttons, I tried to click (create user) but I got this error
App42Exception: EmailAddress is Not Valid com.shephertz.app42.paas.sdk.csharp.util.Util.ThrowExceptionIfEmailNotValid (System.Object obj, System.String name) com.shephertz.app42.paas.sdk.csharp.user.UserService.CreateUser (System.String uName, System.String pwd, System.String emailAddress, App42CallBack callBack) UserTest.OnGUI () (at Assets/scripts/UserTest.cs:49)
======================================
I have change
public string emailId = ""; // EmailId for the user creation
constant.cs script file
and this should work without error. well I tried this and I still gets the same error.
======================================
Do you know where can I find a sample file to create a user that contain three input field to put an email, user and password and a button to create a user. I want a sample unity file that contain all the code required to do that, the only thing I have to modify is the secret and API key.
I just want to know how this works, I found sample file that came with the SDK complicated. So I want a sample file that have "create user" to use it in Unity (C#).
I'm trying to create a simple 2D game in unity that required the user to create an account (username, email, password), but I didn't find enough tutorials and instructions to do that. I'm new in programming so please bear with me.