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

            instance.Dispose();
            instance = null;
        }