Created
October 9, 2014 19:48
-
-
Save nasser/a5bb50b19ffba18dd491 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(use 'unity.hydrate) | |
;; create a new game object named New Object | |
(hydrate {:name "New Object"}) | |
;; create a new game object named New Object, with a transform with local position 40 20 10 | |
(hydrate {:name "New Object" :transform [{:local-position [40 20 10]}]}) | |
;; create a new game object named New Object, with a transform with local position 40 20 10 and a box collider with center 1 1 2 | |
(hydrate {:name "New Object" :transform [{:local-position [40 20 10]}] | |
:box-collider [{:center [1 1 2]}]}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment