Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


#Actualsatsujin

Posted 25 November 2013 - 04:10 AM

Thanks folks but I saw that format of calling the import type in other posts and already tried that. Both approaches return nil on the import_type call. Also, if you use import_type on "System.Console" , for example, you can directly use WriteLine on the type variable. This is probably because it is defined as static.

 

I think the string I am passing to import_type or load_assembly must be wrong somehow. I've tried passing either "PointClick" and "PointClick.GameController" to load_assembly but it still returns nil on import_type("PointClick.GameController")


#1satsujin

Posted 25 November 2013 - 01:44 AM

Thanks folks but I saw that format of calling the import type in other posts and already tried that. Both approaches return nil on the import_type call. Also, if you use import_type on "System.Console" , for example, you can directly use WriteLine on the type variable.

 

I think the string I am passing to import_type or load_assembly must be wrong somehow. I've tried passing either "PointClick" and "PointClick.GameController" to load_assembly but it still returns nil on import_type("PointClick.GameController")


PARTNERS