Well, I solved it in a round-about kind of way.
exAtlas realAtlas = Resources.Load(atlasName.Value, typeof(exAtlas)) as exAtlas;
I've changed the required params to now be the Object with the exSprite, the sprite name and the atlas name. I then load the atlas via the
Resources.Load() method.
This works for me, but i'm not sure of the cost (memory/cpu) of using the
Resources.Load() method. I'm making
an assumption (bad idea, i know) that the exAtlas is already loaded, as you are using it in your project, so this shouldn't use any more memory. But it is something that really needs to be tested.
Regardless, it would be great to have a way to add new variable types to PlayMaker.
I've posted it
here.
Jos