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