fix #12; Raycast blocking is unnecessary
parent
820432b0db
commit
4ca676ccea
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue