I've seen this been done many times, and I don't really see any benefit from doing it.
I know that it makes it more confusing because you are declaring a function after you use it instead of before; however is there an actual performance decrease by doing this?
For example:
void Update()
{
MyFunction();
}
void MyFunction()
{
// Do things
}
↧