rewrite of Twine2Unity classes