Yuri
1
Hello.
I’m not receiving any input signals for gui of a collection created by proxy. Please help me to figure out why.
function init(self)
print("init!")
msg.post(".", "acquire_input_focus")
end
function on_input(self, action_id, action)
print("on input!")
end
I only see “init!”, but never “on input!”. However, when I set level selector as main collection, I see both.
on_input.zip (47.8 KB)
Thanks.
Does the game object holding the collection proxy have input focus? See this:
2 Likes
Yuri
3
Does the game object holding the collection proxy have input focus? See this:
I don’t think so. The only “acquire_input_focus” I have is in gui script of collection created by proxy.
Which game object contains your collectionproxy?
Add this code msg.post("[Url of that game object]", "acquire_input_focus")
to the main script
1 Like
Yuri
5
I added msg.post(".", "acquire_input_focus")
to collectionproxy holder and it started working. Thank you.
1 Like