Out renaming process excluded names of the following functions (for classes inherited from MonoBehaviour)
Create, Update, LateUpdate, FixedUpdate, Awake, Start, Reset, OnMouseEnter, OnMouseOver, OnMouseExit, OnMouseDown, OnMouseUp, OnMouseDrag, OnTriggerEnter, OnTriggerExit, OnTriggerStay, OnCollisionEnter, OnCollisionExit, OnCollisionStay, OnControllerColliderHit, OnJointBreak, OnParticleCollision, OnBecameVisible, OnBecameInvisible, OnLevelWasLoaded, OnEnable, OnDisable, OnPreCull, OnPreRender, OnPostRender, OnRenderObject, OnWillRenderObject, OnGUI, OnRenderImage, OnDrawGizmosSelected, OnDrawGizmos, OnApplicationPause, OnApplicationQuit и некоторые другие..
reason: Unity in the process calls certain class methods whose names are reserved for certain actions, for example Update is called when updating each scene and if we rename it, Unity will not find by name this method and the function will not be called.
example:
// for obfuscator - Dont rename ‘GameObjectScript’
public class GameObjectScript1 : MonoBehaviour
{
// for obfuscator - Dont rename
// Use this for initialization
void Start ()
{
}
// for obfuscator - Dont rename
// Update is called once per frame
void Update ()
{
}
}