Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


#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