add auto start .bat function (pls add file path in config.json)
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
|
||||
public class StartBatchManager : MonoBehaviour
|
||||
{
|
||||
private void Start()
|
||||
{
|
||||
ConfigManager.EnsureInitialization();
|
||||
Process.Start(Path.GetFullPath(ConfigManager.config.batFileLocation));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user