ra’s Twitter Archive
—№ 25,330
⇤ Newest
Tweet
⇠ Newer
Tweet
Older
Tweet
⇢
every unity game object gets one bit of state, which is often a clojure map
Permalink
On twitter.com
❤️ 2
Favorites
2016 Mar 23
Mood
0
…in reply to @ra
every one of unity's "messages" can be associated with a function and read from the state
Permalink
On twitter.com
❤️ 1
Favorite
2016 Mar 23
Mood
0
…in reply to @ra
associating with a var is great because you get late bound dynamicity! redef the function and it updates the message logic of the object
Permalink
On twitter.com
2016 Mar 23
Mood +
3
🙂
…in reply to @ra
you can update the state as you need to, from the REPL or anywhere
Permalink
On twitter.com
2016 Mar 23
Mood
0
…in reply to @ra
which gives you a fun thing
imgur.com/txvlaAg
On twitter.com
❤️ 2
Favorites
2016 Mar 23
Mood +
4
🙂