i wanna know fully about send message system…
how i use it?
1.how in java and how in C#…
2. i can use it to call a script from other language?
3. i have script which is complex, and will apply on several object… there’s a class that i made array of it… the class hold some question…and each question some answer…but i wanna define some type of other question which will be solve with doing a job… i wanna say set a flag of a certain question as solved … what should i do? use static variable? or use public? i can call a method from script? or i can call a method from object which script applied to?
- Unity - Scripting API: GameObject.SendMessage
- I’m pretty sure it should work regardless of the language it’s coming to/from.
- Not sure about this, or what exactly you’re asking for. I’m guessing though that the short answer is that you can do it any number of ways. Pick a way that you’re familiar with and go from there.