- Home /
Calling a function by string and returning value
Hello all,
I'm trying to call a function using a string (because my function name can vary through some possibilities), after doing some search I found about Invoke and Coroutine, but I can't find a way to return values.
How can I call a function passing paramenters and returning values? I'm using C#
Thanks in advance. Hope my question is clear.
Comment
Best Answer
Answer by cdrandin · Aug 07, 2013 at 01:25 AM
Try if this works out for you. http://stackoverflow.com/questions/540066/calling-a-function-from-a-string-in-c-sharp
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
C# Call a funtion in many scripts 1 Answer
Lower player's health from separate script. 2 Answers
How do I use a function in a class more than once? 4 Answers