private void DestroySelf() { shape.RemoveOnStateChanged(OnStateChanged); shape.RemoveOnPositionUpdated(OnPositionUpdated); Destroy(gameObject); }