fix #12; Raycast blocking is unnecessary

pull/77/head
mob-sakai 2018-11-28 20:55:21 +09:00
parent 820432b0db
commit 4ca676ccea
1 changed files with 2 additions and 0 deletions

View File

@ -99,6 +99,8 @@ namespace Coffee.UIExtensions
get { return !_parent; } get { return !_parent; }
} }
public override bool raycastTarget { get { return false; } set { base.raycastTarget = value; } }
public override Material GetModifiedMaterial (Material baseMaterial) public override Material GetModifiedMaterial (Material baseMaterial)
{ {
return base.GetModifiedMaterial (_renderer ? _renderer.sharedMaterial : baseMaterial); return base.GetModifiedMaterial (_renderer ? _renderer.sharedMaterial : baseMaterial);