예제 #1
0
 private static void PrepareSingleton()
 {
     if (s_instance == null)
     {
         s_instance = new GameObject ("SHTestHelper").AddComponent<SHTestHelper> ();
     }
 }
예제 #2
0
 private static void PrepareSingleton()
 {
     if (s_instance == null)
     {
         s_instance = new GameObject("SHTestHelper").AddComponent <SHTestHelper> ();
     }
 }