Example #1
0
        //called by MonoRuntime.cpp
        public static void Start(string engineRoot, string gameRoot)
        {
            if (instance != null)
            {
                throw new InvalidOperationException();
            }

            instance = new UnrealAgentServer(engineRoot, gameRoot);
        }
Example #2
0
        //called by MonoRuntime.cpp
        public static void Stop()
        {
            if (instance == null)
            {
                throw new InvalidOperationException();
            }

            instance.Dispose();
            instance = null;
        }