Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Asse on November 27, 2013, 07:46:46 AM
Title:
UIDrawCall.CreateMaterial bug
Post by:
Asse
on
November 27, 2013, 07:46:46 AM
It seems like you have a bug in the UIDrawCall.CreateMaterial method.
string
shaderName
=
(
mMaterial
!=
null
)
?
mShader
.
name
:
(
(
mMaterial
!=
null
)
?
mMaterial
.
shader
.
name
:
"Unlit/Transparent Colored"
)
;
should be
string
shaderName
=
(
mShader
!=
null
)
?
mShader
.
name
:
(
(
mMaterial
!=
null
)
?
mMaterial
.
shader
.
name
:
"Unlit/Transparent Colored"
)
;
Title:
Re: UIDrawCall.CreateMaterial bug
Post by:
ArenMook
on
November 27, 2013, 10:02:41 AM
You're right, thanks! I will fix it in the next update.