<commit_before>﻿using UnityEngine;
using System.Collections;

public class MyUIManager : MonoBehaviour 
{
    public  UILabel loadingLabel;
    public  UIPanel loadingPanel;
    public UIEventListener LoginBtn;
	// Use this for initialization
	void Start () 
    {
        ButtonEventInitialize();
	}
    void ButtonEventInitialize()
    {
        LoginBtn.onClick += (GameObject g) =>
        {
            print("Login");
        };
    }

    public IEnumerator LoadingAnimation()
    {
        loadingPanel.gameObject.SetActive(true);
        string[] text = new string[] { "Loading", "Loading.", "Loading..", "Loading..." };
        for (int i = 0; i < text.Length; i++)
        {
            loadingLabel.text = text[i];
            yield return new WaitForSeconds(0.5f);      
        }
        loadingPanel.gameObject.SetActive(false);
    }
}<commit_msg>update login close loading and login view<commit_after>﻿using UnityEngine;
using System.Collections;

public class MyUIManager : MonoBehaviour 
{
    public  UILabel loadingLabel;
    public  UIPanel loadingPanel;
    public UIPanel  loginPanel;
    public UIEventListener LoginBtn;
	// Use this for initialization
	void Start () 
    {
        ButtonEventInitialize();
	}
    void ButtonEventInitialize()
    {
        LoginBtn.onClick += (GameObject g) =>
        {
            print("Login");
            StartCoroutine(LoadingAnimation());
        };
    }

    public IEnumerator LoadingAnimation()
    {
        loadingPanel.gameObject.SetActive(true);
        string[] text = new string[] { "Loading", "Loading.", "Loading..", "Loading..." };
        for (int i = 0; i < text.Length; i++)
        {
            loadingLabel.text = text[i];
            yield return new WaitForSeconds(0.5f);      
        }
        loadingPanel.gameObject.SetActive(false);
    }
}
{'fraction_non_alphanumeric': 0.11232279171210469, 'fraction_numerical': 0.003271537622682661, 'mean_word_length': 2.2767857142857144, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4717890', 'n_tokens_mistral': 514, 'n_tokens_neox': 518, 'n_words': 122}