Welcome! Please see the About page for a little more info on how this works.

0 votes
in ClojureCLR by

How do I tag a game object in unity via Arcadia?

1 Answer

+2 votes
by
selected by
 
Best answer

Haven’t tested this, but it should work:

According to the Unity Scripting API you can simply set the tag property of a GameObject to a string after specifying it via the Tags and Layers manager.

In Arcadia you can use set! to accomplish this:

(set! (. game-object tag) "SomeTag")
...