Пример #1
0
 protected override void destroy()
 {
     if (parent != null)
     {
         parent.removeChild(this);
     }
     base.destroy();
 }