/// <summary> /// 画素の色を基に操作受付を切り替える /// </summary> void UpdateFocusable() { if (!this._isFocusable) { if (this.onOpaquePixel) { uniWin.EnableUnfocusable(false); this._isFocusable = true; } } else { if (this.isTransparent && !this.onOpaquePixel && !this.isDragging) { uniWin.EnableUnfocusable(true); this._isFocusable = false; } } }