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

            instance.Dispose();
            instance = null;
        }