Exemplo n.º 1
0
 void OnEnable()
 {
     titleContent.text           = "Atlas Maker";
     atlasMaker                  = new AtlasMaker();
     Selection.selectionChanged += atlasMaker.OnSelectionChanged;
     Selection.selectionChanged += Repaint;
     Selection.selectionChanged();
 }
Exemplo n.º 2
0
 void OnDisable()
 {
     Selection.selectionChanged -= atlasMaker.OnSelectionChanged;
     Selection.selectionChanged -= Repaint;
     atlasMaker = null;
 }