View difference between Paste ID: NWqr7N5k and YFV6U6xW
SHOW: | | - or go back to the newest paste.
1
1.exe:
2
#define CONSOLEAPP
3
using System;
4
namespace ClientConsoleTest
5
{
6
    class Program
7
    {
8
        static void Main(string[] args)
9
        {
10
            OtherLib.Do();
11
        }
12
    }
13
}
14
15-
OtherLib:
15+
OtherLib.dll:
16
namespace OtherLib
17
{
18
    public static class Game
19
    {
20
	public static void Do()
21
        {
22
#if !CONSOLEAPP
23-
                UnityEngine.Application.LoadLevel(1);  //WHY IT RUN?
23+
                Console.WriteLine("hmm");  //WHY IT RUN?
24
#endif
25
	}
26
    }
27
}