TopManager.cs 312 B

123456789101112131415
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEngine.UI;
  5. public class TopManager : MonoBehaviour
  6. {
  7. public Text tname;
  8. public Text temail;
  9. private void OnEnable()
  10. {
  11. tname.text = DataManager.acc;
  12. temail.text = DataManager.email;
  13. }
  14. }