Generation

generate functionSat, 17 Jun 2023

I need a scritp for unity that check in changes the version control automatic when i start the simulation

using System.Collections; using System.Collections.Generic; using UnityEngine; public class VersionCheck : MonoBehaviour { // Start is called before the first frame update void Start() { string command = "git add -A"; command = "git commit -m 'new build"; command = "git push"; string output = System.Diagnostics.Process.Start("CMD.exe", command); } // Update is called once per frame void Update() { } }

Questions about programming?Chat with your personal AI assistant