I just want to find a way for script components communication. I looked through the code of ScriptInstance but I don’t find any api for this except event.
It will be nice if something like the following is supported.
[lua]
local cmpt = self.node:GetComponent(“OtherScript”)
cmpt:callSomeMethod()
If it is not supported, how much work is needed to add this feature?