Exemplo n.º 1
0
 public static AccountFade GetInstance()
 {
     if (instance == null)
     {
         instance = new AccountFade();
     }
     return(instance);
 }
Exemplo n.º 2
0
 private void Start()
 {
     AccountFade.GetInstance().StartUp(gameObject);
     success.gameObject.SetActive(true);
     register.gameObject.SetActive(true);
     register.transform.localScale = Vector3.one;
     success.transform.localScale  = Vector3.zero;
     message.text = "";
     InitTypeData();
 }