Skip to content

Instantly share code, notes, and snippets.

@JonRurka
Created January 29, 2015 05:15
Show Gist options
  • Save JonRurka/e1c097ed24272e6e4654 to your computer and use it in GitHub Desktop.
Save JonRurka/e1c097ed24272e6e4654 to your computer and use it in GitHub Desktop.
testObject = new GameObject("__TestObject__");
testObject.AddComponent<WebTestComponent>();
Type testType = Assembly.GetCallingAssembly().GetType("WebTestComponent", false, true);
if (testType == null)
PConsole.LogWarning("Still null...");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment