diff --git a/com.code-philosophy.obfuz/Editor/ObfusPasses/SymbolObfus/Policies/UnityRenamePolicy.cs b/com.code-philosophy.obfuz/Editor/ObfusPasses/SymbolObfus/Policies/UnityRenamePolicy.cs index 9878973..fd00810 100644 --- a/com.code-philosophy.obfuz/Editor/ObfusPasses/SymbolObfus/Policies/UnityRenamePolicy.cs +++ b/com.code-philosophy.obfuz/Editor/ObfusPasses/SymbolObfus/Policies/UnityRenamePolicy.cs @@ -13,46 +13,83 @@ namespace Obfuz.ObfusPasses.SymbolObfus.Policies { private static HashSet s_monoBehaviourEvents = new HashSet { "Awake", - "OnEnable", - "Start", "FixedUpdate", - "Update", "LateUpdate", - "OnDisable", - "OnDestroy", - "OnApplicationQuit", - "OnTriggerEnter", - "OnTriggerExit", - "OnTriggerStay", - "OnCollisionEnter", - "OnCollisionExit", - "OnCollisionStay", - "OnMouseDown", - "OnMouseUp", - "OnMouseEnter", - "OnMouseExit", - "OnMouseOver", - "OnMouseDrag", - "OnBecameVisible", - "OnBecameInvisible", - "OnGUI", - "OnPreRender", - "OnPostRender", - "OnRenderObject", - "OnDrawGizmos", - "OnDrawGizmosSelected", - "OnValidate", "OnAnimatorIK", + "OnAnimatorMove", "OnApplicationFocus", "OnApplicationPause", + "OnApplicationQuit", "OnAudioFilterRead", + + "OnBecameVisible", + "OnBecameInvisible", + + "OnCollisionEnter", + "OnCollisionEnter2D", + "OnCollisionExit", + "OnCollisionExit2D", + "OnCollisionStay", + "OnCollisionStay2D", + "OnConnectedToServer", + "OnControllerColliderHit", + + "OnDrawGizmos", + "OnDrawGizmosSelected", + "OnDestroy", + "OnDisable", + "OnDisconnectedFromServer", + + "OnEnable", + + "OnFailedToConnect", + "OnFailedToConnectToMasterServer", + + "OnGUI", + "OnJointBreak", - "OnParticleCollision", + "OnJointBreak2D", + + "OnMasterServerEvent", + "OnMouseDown", + "OnMouseDrag", + "OnMouseEnter", + "OnMouseExit", + "OnMouseOver", + "OnMouseUp", + "OnMouseUpAsButton", + + "OnNetworkInstantiate", + + "OnParticleSystemStopped", + "OnParticleTrigger", + "OnParticleUpdateJobScheduled", + "OnPlayerConnected", + "OnPlayerDisconnected", + "OnPostRender", + "OnPreCull", + "OnPreRender", + "OnRenderImage", + "OnRenderObject", + + "OnSerializeNetworkView", + "OnServerInitialized", + "OnTransformChildrenChanged", "OnTransformParentChanged", - "OnRectTransformDimensionsChange", - "OnWillRenderObject" + "OnTriggerEnter", + "OnTriggerEnter2D", + "OnTriggerExit", + "OnTriggerExit2D", + "OnTriggerStay", + "OnTriggerStay2D", + + "OnValidate", + "OnWillRenderObject", + "Reset", + "Start", + "Update", }; public override bool NeedRename(TypeDef typeDef) {