示例#1
0
文件: TestU3D.cs 项目: qq1792/LSharp
 public static void UnitTest_01()
 {
     GameObject obj = new GameObject();
     Logger.Log("c1=" + (obj == null));
     Logger.Log("c2=" + (obj.transform == null));
     TT t = new TT();
     for (int i = 0; i < 10; i++)
     {
         t.Test();
     }
 }
示例#2
0
        public static void UnitTest_01()
        {
            GameObject obj = new GameObject();

            Logger.Log("c1=" + (obj == null));
            Logger.Log("c2=" + (obj.transform == null));
            TT t = new TT();

            for (int i = 0; i < 10; i++)
            {
                t.Test();
            }
        }