浏览代码

点击头像复制名字

guodong 3 年之前
父节点
当前提交
1f42c7506c
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      GameClient/Assets/Game/HotUpdate/Views/MainUI/MainUIView.cs

+ 3 - 1
GameClient/Assets/Game/HotUpdate/Views/MainUI/MainUIView.cs

@@ -4,6 +4,7 @@ using UI.CommonGame;
 using UnityEngine;
 using System.Collections.Generic;
 using ET;
+using static UnityEditor.Progress;
 
 namespace GFGGame
 {
@@ -327,7 +328,8 @@ namespace GFGGame
             ViewManager.Show<DailyTaskView>();
         }
         private void OnClickHeadBar()
-        {
+{
+            GUIUtility.systemCopyBuffer = RoleDataManager.roleName;
             ViewManager.Show(ViewName.ROLE_INFO_VIEW);
         }