//如果目标角色 //眩晕 public static void SetXuanYun(RoleBase role, float time) { role.SetStop(true); ViewManager.Get <WndTips>("WndTips").ShowMsg("眩晕", role.fightTipPosition, UnityEngine.Color.gray, time + 0.5f, 70, 40); TimeManager.RegistOneTime((id) => { role.SetStop(false); }, time, true); }