il2cpp transition (this commit is still in mono)

fix ipc touch not working under il2cpp;
fix bat wont start under il2cpp;
This commit is contained in:
xpeng
2022-11-08 23:43:35 +01:00
parent 92ef73ee3a
commit d23ae3be82
15 changed files with 548 additions and 286 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ public class Config
public bool TouchAirWall = false;
public bool UseIPCLighting = true;
public bool UseIPCTouch = true;
public float LightStrength = 1.35f;
public float LightStrength = 1.25f;
public int TestKeyBind = 40;
public int ServiceKeyBind = 41;
public int CoinKeyBind = 31;
@@ -4,7 +4,6 @@
"references": [
"GUID:56dd35f9b6f21364494ed8365264cbf6",
"GUID:6055be8ebefd69e48b49212b09b47b2f",
"GUID:2dcfcfc00d4ac7749bb60698b85f1dc2",
"GUID:fe685ec1767f73d42b749ea8045bfe43",
"GUID:75469ad4d38634e559750d17036d5f7c",
"GUID:e9ef0e10f8c2b264e9705f57f028b9e8"
@@ -3,12 +3,15 @@ using System.Collections.Generic;
using UnityEngine;
using System.Diagnostics;
using System.IO;
using Lavender.Systems;
public class StartBatchManager : MonoBehaviour
{
private void Start()
{
ConfigManager.EnsureInitialization();
Process.Start(Path.GetFullPath(ConfigManager.config.batFileLocation));
if (ConfigManager.config.batFileLocation != "")
StartExternalProcess.Start(ConfigManager.config.batFileLocation);
//Process.Start(Path.GetFullPath(ConfigManager.config.batFileLocation));
}
}