Is it posible to triger a function inside a unity script from the SQL?
For example when a new “mail” is inserted into the SQL db this will send a message to unity trough php?
Is it posible? instead of having to regularely query the db for a new message?
appels
2
i’m not sure but i think unity needs to pull it from the db or a php. so all i can think about is having unity check every few seconds via script.
yeah that’s how i have it. but im a bit concern about bandwith usage on the server.
Unity supports sockets, so I suppose you could use those.