- Home /
Question by
YuyaOkada · Aug 26, 2014 at 09:22 AM ·
functionreflection
How to change function name using reflection?
void Start(){
string fncName = "bar";
}
void foo(){
}
There is "foo" function and "fncName" variable. I want to change the function name from "foo" to fncName. I heard I can do it using reflection but I don't know how to use reflection. How can I change function name?
Thank you
Comment
Your answer
Follow this Question
Related Questions
How to execute a function which is implemented in .NET when I have its name as a string? 1 Answer
How to get a function() 's name 1 Answer
Lightmap textures appearing where they shouldn't in build. 0 Answers
Reflection probe problem: reflection shifts in wrong direction when camera moved 0 Answers
Problem with reflection probe 0 Answers