Beispiel #1
0
 private void OnDisable()
 {
     if (Color != null)
     {
         Color.RemoveHandler(OnChangeValue);
     }
 }
 private void OnDisable()
 {
     if (NormalColor != null)
     {
         NormalColor.RemoveHandler(OnChangeNormalValue);
     }
     if (DisabledColor != null)
     {
         DisabledColor.RemoveHandler(OnChangeDisableValue);
     }
 }