//called by MonoRuntime.cpp public static void Start(string engineRoot, string gameRoot) { if (instance != null) { throw new InvalidOperationException(); } instance = new UnrealAgentServer(engineRoot, gameRoot); }
//called by MonoRuntime.cpp public static void Stop() { if (instance == null) { throw new InvalidOperationException(); } instance.Dispose(); instance = null; }