Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function init(self)
- msg.post(".", "acquire_input_focus")
- msg.post("@render:", "use_fixed_fit_projection", { near = -1, far = 1 })
- end
- function on_input(self, action_id, action)
- if action_id == hash("click") and action.pressed then
- factory.create("#logofactory", vmath.vector3(action.x, action.y, 0))
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement