Ejemplo n.º 1
0
 private void OnDisable()
 {
     WindowPrefs.SavePosition(titleContent.text, position);
     Selection.selectionChanged -= UpdateComponentsList;
 }
Ejemplo n.º 2
0
 private void OnEnable()
 {
     position = WindowPrefs.LoadPosition(titleContent.text);
     Selection.selectionChanged += UpdateComponentsList;
 }