unity3d Avoid empty unity methods


Example

Avoid empty unity methods. Apart from being bad programming style, there is a very small overhead involved in runtime scripting. Over many instances, this can build up and affect performance.

void Update
{
}

void FixedUpdate
{
}