protected override void RenameEnded() { bool userAcceptedRename = base.GetRenameOverlay().userAcceptedRename; if (userAcceptedRename) { string name = (!string.IsNullOrEmpty(base.GetRenameOverlay().name)) ? base.GetRenameOverlay().name : base.GetRenameOverlay().originalName; int userData = base.GetRenameOverlay().userData; AudioMixerTreeViewNode audioMixerTreeViewNode = this.m_TreeView.FindNode(userData) as AudioMixerTreeViewNode; if (audioMixerTreeViewNode != null) { ObjectNames.SetNameSmartWithInstanceID(userData, name); AudioMixerEffectController[] effects = audioMixerTreeViewNode.group.effects; for (int i = 0; i < effects.Length; i++) { AudioMixerEffectController audioMixerEffectController = effects[i]; audioMixerEffectController.ClearCachedDisplayName(); } this.m_TreeView.ReloadData(); if (this.m_Controller != null) { this.m_Controller.OnSubAssetChanged(); } } } }