|
|
|
|
|
|
{ |
|
|
|
visible = false; |
|
|
|
s_Instance = null; |
|
|
|
EditorSceneManager.sceneOpened -= Reload; |
|
|
|
EditorSceneSetup.onSetupLoaded -= ReloadSetup; |
|
|
|
Selection.selectionChanged -= Refresh; |
|
|
|
} |
|
|
|
|
|
|
|
private void OnEnable() |
|
|
|
|
|
|
ReloadCallHierarchy(); |
|
|
|
EditorSceneManager.sceneOpened += Reload; |
|
|
|
EditorSceneSetup.onSetupLoaded += ReloadSetup; |
|
|
|
Selection.selectionChanged += Refresh; |
|
|
|
|
|
|
|
visible = true; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
Dictionary<string, List<CallTreeNode>> nodeRoots; |
|
|
|
|
|
|
|
List<MonoBehaviour> erroneous; |
|
|
|
|
|
|
|
|
|
|
|
void ReloadCallHierarchy() |
|
|
|
{ |
|
|
|