feat: start/stop server handling
The original app volume is also restored when the server is stopped.
This commit is contained in:
parent
962bcaf199
commit
5eedbf2f1e
4 changed files with 35 additions and 7 deletions
|
|
@ -11,6 +11,7 @@ public class Helper
|
|||
public static string serverip = null;
|
||||
public static int serverport = 5999;
|
||||
public static bool hosting = false;
|
||||
public static float saved_volume;
|
||||
public static void DisableAnalytics()
|
||||
{
|
||||
// Try disabling analytics https://docs.unity3d.com/ScriptReference/Analytics.Analytics-deviceStatsEnabled.html
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue