onRemove

var onRemove: T.() -> Unit? = null

onRemove gets invoked anytime after a GameComponentView is removed from this GameComponentContainer with the removed GameComponentView as its receiver.