/** * @private */ internal override void _setArmature(Armature value) { if (_armature == value) { return; } if (_armature != null) { _armature._removeSlotFromSlotList(this); } _armature = value; _onUpdateDisplay(); if (_armature != null) { _armature._addSlotToSlotList(this); _addDisplay(); } else { _removeDisplay(); } }