mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-03-01 16:13:24 +00:00
use unity's GUIUtility instead of TextCopy
This commit is contained in:
parent
4838eba387
commit
84b8f6b4b5
@ -9,7 +9,6 @@ using Steamworks;
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using TextCopy;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using Button = UnityEngine.UI.Button;
|
||||
@ -337,7 +336,7 @@ namespace QSB.Menus
|
||||
|
||||
var steamId = ((FizzyFacepunch)Transport.activeTransport).GetSteamID();
|
||||
|
||||
PopupOK += () => ClipboardService.SetText(steamId);
|
||||
PopupOK += () => GUIUtility.systemCopyBuffer = steamId;
|
||||
|
||||
OpenInfoPopup($"Hosting server.\r\nClients will connect using your steam id, which is :\r\n" +
|
||||
$"{steamId}\r\n" +
|
||||
|
@ -73,7 +73,6 @@ copy /y "$(OwmlDir)\OWML.Abstractions.dll" "$(UnityAssetsDir)"
|
||||
<ProjectReference Include="..\MirrorWeaver\MirrorWeaver.csproj" ReferenceOutputAssembly="false" />
|
||||
<PackageReference Include="HarmonyX" Version="2.8.0" IncludeAssets="compile" />
|
||||
<PackageReference Include="OWML" Version="2.3.1" IncludeAssets="compile" />
|
||||
<PackageReference Include="TextCopy" Version="5.0.2" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Update="AssetBundles\*">
|
||||
|
@ -165,7 +165,6 @@ It is also recommended to lower all graphics settings to minimum, be in windowed
|
||||
- [Mirror](https://mirror-networking.com/)
|
||||
- [FizzyFacepunch](https://github.com/Chykary/FizzyFacepunch)
|
||||
- [HarmonyX](https://github.com/BepInEx/HarmonyX)
|
||||
- [TextCopy](https://github.com/CopyText/TextCopy)
|
||||
- [Mono.Cecil](https://github.com/jbevain/cecil)
|
||||
|
||||
## Help / Discuss development / Whatever
|
||||
|
Loading…
x
Reference in New Issue
Block a user