Advertisement
Guest User

Untitled

a guest
Dec 3rd, 2015
9
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.34 KB | None | 0 0
  1. public class Store : MonoBehaviour {
  2.  
  3.     public Canvas main;
  4.     public CharacterPresentation reference;
  5.  
  6.     public void GoToMenu() {
  7.         main.enabled = false;
  8.         LoadingScreen.show();
  9.         Application.LoadLevel("menu");
  10.         PlayerPrefs.SetString("skinName", reference.actual.name);
  11.         PlayerPrefs.Save();
  12.     }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement