Jump to content

Remember Username Script


romaxjp

Recommended Posts

Hello, i make litle script for remember username

 

download it: remember.cs

 

 

how to use:

 

put the script at Neojac->Scripts (for exemple)

 

then go to your login scene.

hierarchy => create empty (exemple call it "Remember")

then add the remember.cs script to it.

 

size=500http://image.noelshack.com/fichiers/2016/10/1457880530-remember-screen.png[/img]

 

then :

input text = inputField_Username->Text

input field =inputField_Username

textfield =inputField_Username->Placeholder

Toggle is your togle checkbox

 

 

then now start the game enter username and check the toggle.

Link to comment
Share on other sites

  • 8 months later...
  • 2 weeks later...

how to get the script to save your username

 

1)place then script in your Assests folder.

2)Open your login scene.

3)go to your hierarchy Canvas create empty call it "Remember"

 

post-1827-15095639055489_thumb.gif

4)add the remember.cs script to it.

5)input text = inputField_Username->Text

input field =inputField_Username

textfield =inputField_Username->Placeholder

Toggle is your togle checkbox

 

post-1827-15095639055646_thumb.gif

 

6)have to go to the Hierarchy enebo Toggle botton

 

post-1827-15095639056872_thumb.gif

 

and you done ).

 

if you still have problem use this file has the Scrip and the Scene to Login all the work is done use this Scene to Login.

http://www.mediafire.com/file/v82kvmgpdo3lo7f/Login.unitypackage

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recommended Cloud Solution


    ksweb.net

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.