예제 #1
0
 static void Init()
 {
     if (webRequestsMonoBehaviour == null)
     {
         var obj = new GameObject("WebRequests");
         webRequestsMonoBehaviour = obj.AddComponent <WebRequestsMonoBehaviour>();
     }
 }
예제 #2
0
 private static WebRequestsMonoBehaviour MonoBehaviourRef()
 {
     if (webRequestsMonoBehaviour == null)
     {
         webRequestsMonoBehaviour = new GameObject("WebRequests").AddComponent <WebRequestsMonoBehaviour>();
     }
     return(webRequestsMonoBehaviour);
 }
 private static void Init()
 {
     if (webRequestsMonoBehaviour == null)
     {
         GameObject gameObject = new GameObject("WebRequests");
         webRequestsMonoBehaviour = gameObject.AddComponent <WebRequestsMonoBehaviour>();
     }
 }