Quantcast
Channel: Questions in topic: "javascipt"
Viewing all articles
Browse latest Browse all 1875

Best way to emulate Swift String Interpolation in UnityScript?

$
0
0
Hello, I've been recently reading up on Swift for other projects and really like [how they implement string interpolation][1] - I have always wanted something like this for UnityScript. Anyone know of any similar methods/options for that? It'd be really useful when writing generative dialog/storytelling, for example, to just plug vars in, rather than say, concatenating. Thanks in advance, and all feedback welcome! Pat [1]: https://www.hackingwithswift.com/read/0/5/string-interpolation

Viewing all articles
Browse latest Browse all 1875

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>