I know how to access other Script 's Variable or run function
But if I dont know the name of the Script?
obj.GetComponent<“Script name”>().function();
are there any way to run the other function in the other Script?
I know how to access other Script 's Variable or run function
But if I dont know the name of the Script?
obj.GetComponent<“Script name”>().function();
are there any way to run the other function in the other Script?
You’re welcome