ZhuCe.cs 525 B

1234567891011121314151617181920212223
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityCommon;
  4. using UnityEngine;
  5. using UnityEngine.UI;
  6. namespace DTYJ
  7. {
  8. public class ZhuCe : MonoBehaviour
  9. {
  10. private void Awake()
  11. {
  12. Screen.SetResolution(1366, 650, false);
  13. }
  14. public InputField inputField_mac, inputField_code;
  15. public void OnClick()
  16. {
  17. var str = inputField_mac.text + "swsj202312";
  18. inputField_code.text = Utility.GetMD5WithString(str);
  19. }
  20. }
  21. }