Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
        //called by MonoRuntime.cpp
        public static void Stop()
        {
            if (instance == null)
            {
                throw new InvalidOperationException();
            }

            instance.Dispose();
            instance = null;
        }