Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: MrMong on May 23, 2013, 12:28:36 AM
-
English is not my native.
I want to some scrollable text.
Unity use completion guarantor font for my native, so i tried to make Bitmap font with BM Font.
problem is, the text (using UILabel) set in UIPanel's clipping range, its color is fixed to white.
i tried to change color like this
label.color = customColor ; (customColor is Color.)
it seems to work well if not use UIPanel with clip. but in the clip range, text color still white.
How can i change text color that inside of clipping range?
-
You must use the "Unlit/Transparent Colored" shader.
-
You must use the "Unlit/Transparent Colored" shader.
i use Unlit/Premultiplied Colored instead. is that shader does not work?
-
i use Unlit/Premultiplied Colored instead. is that shader does not work?
tried to change Unlit/Transparent Colored, but still not work.
-
Premultiplied is fine. Make sure the panel doesn't have depth pass enabled.
-
i solved mine. ;o
problem is that i edited premuitiplied colored script some.
and missed some code in shader like col.rgb *= IN.color.rgb;..